rpcsx-site/css/style.css
Spotlight af78a01393
Use new header
This adds a proper logo, and improves readability on mobile devices.
2021-04-16 22:11:31 -05:00

324 lines
4.7 KiB
CSS

body {
margin: 0;
background-color: #256632;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* For navbar */
.page-header {
padding: 15px;
padding-top: 20px;
}
.nav-logo {
width: 100px;
}
.navbar {
text-align: right;
}
.mobile-bars {
display: none;
}
.center {
text-align: center;
}
/* Ensure that the navbar as a whole stays on screen. */
.page-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
overflow: hidden;
}
.nav-logo {
float: left;
margin: auto;
}
.page-header nav {
float: right;
}
.page-header ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
.page-header li {
float: left;
list-style-type: none;
}
.page-header li a {
display: block;
color: white;
text-align: center;
padding: 10px 16px;
text-decoration: none;
}
.page-header li a:hover {
background-color: #225a2d;
border-radius: 12px;
}
li {
list-style-type: square;
}
.content {
color: white;
}
.content a {
text-decoration: none;
color: rgb(185, 185, 185);
}
.content a:hover {
text-decoration: underline;
}
.footer a:hover {
text-decoration: underline;
}
.footer {
background-color: #256632;
padding: 40px;
color: white;
display: flex;
justify-content: center;
}
/* For service status list */
.services {
display: flex;
justify-content: center;
}
.service {
width: 40%;
margin: 5px;
}
.publicly-available {
background-color: rgb(48, 176, 46);
padding: 10px;
}
.no-progress {
background-color: rgb(184, 17, 17);
padding: 10px;
}
.private-beta {
background-color: rgb(24, 120, 190);
padding: 10px;
}
.in-development {
background-color: rgb(198, 165, 51);
padding: 10px;
}
.item {
width: 20%;
margin: 20px;
}
.header {
background-color: #123f1b;
padding: 30px;
background-image: url("../assets/banner-dark.png");
background-position: center;
background-repeat: no-repeat;
}
.embed {
text-align: center;
}
.embed iframe {
width: 960px;
height: 540px;
}
.section {
padding: 30px;
background-position: center;
background-repeat: no-repeat;
background-color: #1e5529;
}
.section h1, .section p, .section li, .section h2, .section h3 {
margin-left: 20%;
margin-right: 20%;
}
.faq {
padding-left: 40px;
padding-right: 40px;
padding-top: 3px;
padding-bottom: 3px;
background-position: center;
background-repeat: no-repeat;
background-color: #1e5529;
}
.faq h1, .faq p, .faq li, .faq h2 {
margin-left: 30%;
margin-right: 30%;
}
.header h1, .header h3, .header ul {
margin-left: 20%;
margin-right: 20%;
}
.footer a {
padding: 5px;
font-size: 14px;
color: white;
text-decoration: none;
}
.footer p {
font-size: 14px;
}
.section table {
border-collapse: collapse;
width: 60%;
font-size: 24px;
margin-left: 20%;
}
.section td, th {
text-align: left;
padding: 15px;
border: 3px solid #000;
}
.logo {
height: 18px;
}
.mobile {
display: none;
}
::selection {
background-color: #358f47;
}
.right {
float: right;
}
.section th {
background-color: #111;
font-size: 28px;
}
.section tr:nth-child(odd) {
background-color: #222;
}
.section tr:nth-child(even) {
background-color: #333;
}
@media only screen and (max-width: 1050px) {
.embed iframe {
width: 100%;
height: 540px;
}
}
@media only screen and (max-width: 850px) {
.header {
background-image: none;
}
.header h1, .header h3, .header ul {
margin-left: 3%;
margin-right: 3%;
}
.section h1, .section p, .section li, .section h2 {
margin-left: 3%;
margin-right: 3%;
}
.faq h1, .faq p, .faq li, .faq h2 {
margin-left: 3%;
margin-right: 3%;
}
.section table {
width: 100%;
margin-left: 0;
}
}
@media only screen and (max-width: 800px) {
.footer {
display: block;
}
.footer a {
text-align: center;
}
.item {
width: auto;
}
}
@media screen and (max-width: 550px) {
.wiilink24-logo {
text-align: center;
display: block;
margin-left: auto;
margin-right: auto;
}
.navbar a {
display: none;
}
.mobile {
display: block;
}
.navbar a.icon {
float: right;
display: block;
}
.mobile-bars {
position: absolute;
right: 0;
top: 0;
}
.navbar.responsive a {
float: none;
display: block;
text-align: left;
}
.navbar a {
float: left;
}
}