You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

281 lines
4.3 KiB
CSS

/*
320, 375, 425, 768, 1024, 1440, 2560
*/
html{
box-sizing: border-box;
color: #1A1A1D;
font-size: 16px;
}
body{
margin: 0;
font: 1.2rem/1.62 sans-serif;
}
*, *::before, *::after{box-sizing: inherit;}
img{
max-width: 100%;
height: auto;
}
.layout-wrapper{
margin: 0 auto;
width: 100%;
max-width: 1024px;
padding: 24px;
}
header{
background-color: #33312E;
color: #F2F4F3;
}
header .layout-wrapper{
display: flex;
}
.logo{
padding-right: 12px;
text-decoration: none;
display: none; /*Mobile don't get it*/
}
nav{display:inline-block}
.logo, nav{
font-size: 18px;
line-height: 1.6;
color: #F2F4F3;
}
.menu-left{
flex: 1 1 0;
}
.title{
background: -webkit-linear-gradient(45deg,#FFF, #777);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.centre-title{
text-align: center;
margin-bottom: 60px;
margin-top: 24px;
}
.about-title{
font-size: 18px;
margin: 0;
font-weight: normal;
color: gray;
}
.about-subtitle{
font-size: 24px;
margin: 0;
font-weight: bold;
}
.about-content{
font-size: 18px;
/* margin: 10px; */
color: gray;
}
.about-blocks{
display: grid;
margin: 0 auto;
gap: 20px;
width: 100%;
grid-template-columns: repeat(auto-fill, minmax(312px, 1fr));
margin-bottom: 36px;
}
.about-block{
border-radius: 24px;
padding: 24px;
min-height: 80px;
text-align: center;
background-color: #DFE0E2;
font-weight: bold;
}
.home-servers--parent{
background: #33312E;
}
.home-servers{
display: grid;
margin: 0 auto;
gap: 20px;
width: 100%;
max-width: 1024px;
}
.home-server{
text-align: center;
min-height: 200px;
background-color: #4464AD;
border-radius: 24px;
padding: 24px;
}
.home-server .button{
display: inline-block;
margin: 16px 6px 0 6px;
}
.home-server .heading{
font-size: 1.875rem;
margin: 0.5rem;
font-weight: bold;
}
.home-server-uno{
text-align: center;
display: flex;
row-gap: 24px;
column-gap: 12px;
flex-wrap: wrap;
background: none;
color: #F2F4F3;
margin-top: 0;
padding-top: 0;
}
.home-server-uno .heading{
font-size: 48px;
color: #F2F4F3;
margin: 0;
}
.home-server-uno img{
width: 100%;
max-width: 224px;
height: auto;
}
.home-server--minecraft{
background-color: #72A276;
}
.home-server--discord{
background-color: mediumpurple;
}
.home-server--down{
background: grey;
color: darkgray;
}
.centre-image{
display: block;
margin-left: auto;
margin-right: auto;
}
.button{
padding: 8px 18px;
font-size: 16px;
border-radius: 12px;
color: #33312E;
background: #F2F4F3;
border-color: #33312E;
text-decoration: none;
}
.button:hover{
background: #E9ECEA;
cursor: pointer;
}
.servers--games{
display: flex;
gap: 10px;
}
.servers--servers{
display: none;
}
.servers--servers--visible{
display: block;
}
.servers--servers--no-js{
display: block;
}
.clipboard{
color: black;
cursor: pointer;
}
.clipboard:hover{
cursor: pointer;
}
.tooltipped {
position: relative;
}
.tooltipped .tooltiptext {
visibility: hidden;
width: 100%;
max-width: 200px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 12px;
position: absolute;
z-index: 1;
bottom: 150%;
left: 50%;
margin-left: -75px;
transition: opacity 0.3s;
}
.tooltipped .tooltiptext::after {
content: "";position: absolute;
top: 100%;left: 50%;
margin-left: -5px;border-width: 5px;
border-style: solid;border-color: #555 transparent transparent transparent;
}
.tooltipped:hover .tooltiptext {visibility: visible;}
.about{}
.our-servers{
background: #DFE0E2;
}
footer{
background-color: #33312E;
color: white;
}
.inline-list{
display: inline-block;
margin: 0;
padding: 0;
}
.inline-list li{
display: inline-block;
list-style-type: none;
margin: 0 10px;
}
.inline-list li a{
text-decoration: none;
color: #F2F4F3;
}
.inline-list li a:hover{
color: #E9ECEA;
}
.content{
font-size: 16px;
}
@media (min-width: 375px){
.home-servers{
grid-template-columns: repeat(auto-fill, 1fr);
}
.home-server-uno div{
flex: 1 0 200px;
}
}
@media (min-width: 520px){
.logo{
display: inline-block;
}
}
@media (min-width: 768px){
.home-servers{
grid-template-columns: repeat(auto-fill, minmax(312px, 1fr));
}
.home-server-uno{
/* Use two grid spaces on tablet+ */
grid-column-start: 1;
grid-column-end: 3;
}
.home-server-uno div{
text-align: left;
}
}
@media (min-width: 1024px){
.home-server-uno{
margin-top: 32px;
padding-top: 24px;
}
}