Homepage/css/responsive.css

200 lines
3.5 KiB
CSS
Raw Normal View History

2018-08-01 10:30:57 +00:00
/*Responsive layout*/
2018-08-01 10:30:57 +00:00
@media screen and (min-width: 2420px) {
.bg-landing img {
-webkit-filter: blur(10px) brightness(0.4);
2018-08-01 10:30:57 +00:00
filter: blur(10px) brightness(0.4);
}
}
@media screen and (min-width: 1620px) {
.logo img {
height: 200px;
}
.brand h1 {
font-size: 96px;
width: 700px;
}
}
@media screen and (max-width: 920px) {
.branding {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
2018-08-01 10:30:57 +00:00
flex-direction: column;
}
.logo {
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
2018-08-01 10:30:57 +00:00
order: 2;
-webkit-box-pack: center;
-ms-flex-pack: center;
2018-08-01 10:30:57 +00:00
justify-content: center;
margin: 0 auto;
}
.logo,
.logo img {
2018-08-01 10:30:57 +00:00
height: 100px;
}
.brand {
-webkit-box-ordinal-group: 5;
-ms-flex-order: 4;
2018-08-01 10:30:57 +00:00
order: 4;
text-align: center;
min-width: 250px;
}
.brand h1 {
width: 100%;
font-size: 48px;
}
.links {
width: 450px;
margin: 0 auto;
}
.about {
margin: 20px auto 0 auto;
}
.tab-content a {
padding: 0 5px;
}
.tabs {
padding: 2px 10px 0 10px;
}
.tabs a {
font-size: 12px;
border-radius: 5px 5px 0 0;
padding: 0 10px;
}
.tab-content h2 {
font-size: 18px;
}
.tab-content p {
font-size: 14px;
}
}
@media screen and (min-width: 920px) {
.logo {
display: initial !important;
}
}
@media screen and (max-width: 640px) {
.brand {
padding: 0 5px;
}
.brand h1 {
font-size: 32px;
}
.brand p {
font-size: 20px;
}
.brand a {
font-size: 18px;
}
.links {
width: 90%;
-ms-flex-flow: wrap;
2018-08-01 10:30:57 +00:00
flex-flow: wrap;
max-width: 350px;
}
.links a {
2018-08-01 10:30:57 +00:00
font-size: 14px;
}
.about {
margin-top: 10px;
}
.tabs {
padding: 2px 10px 0 10px;
}
.tabs a {
font-size: 12px;
border-radius: 5px 5px 0 0;
padding: 0 10px;
}
.tab-content h2 {
font-size: 18px;
}
.tab-content p {
font-size: 14px;
}
}
@media screen and (max-width: 330px) {
2018-08-02 19:42:13 +00:00
.logo,
.logo img {
height: 50px;
}
2018-08-01 10:30:57 +00:00
.brand h1 {
font-size: 24px;
}
.brand p {
2018-08-02 19:42:13 +00:00
font-size: 16px;
2018-08-01 10:30:57 +00:00
}
.links a {
font-size: 12px;
}
.tabs a {
padding: 0 4px;
margin: 0 2px;
}
.tab-content h2 {
font-size: 14px;
}
.tab-content p {
font-size: 12px;
}
}
@media screen and (max-height: 450px) {
.h-on {
display: none;
}
.about {
margin-top: 10px;
}
.logo {
display: none;
}
}
/*Resolution Support*/
.unsupported {
background-color: #222a;
height: 0;
-webkit-box-pack: center;
-ms-flex-pack: center;
2018-08-01 10:30:57 +00:00
justify-content: center;
-ms-flex-line-pack: center;
2018-08-01 10:30:57 +00:00
align-content: center;
min-height: 0;
min-width: 0;
z-index: 20;
opacity: 0;
}
.unsupported-text {
margin: auto;
padding: 10px;
text-align: center;
2018-08-02 19:42:13 +00:00
font-size: 16px;
2018-08-01 10:30:57 +00:00
color: #eee;
}
@media screen and (max-width: 260px),
screen and (max-height: 120px) {
2018-08-01 10:30:57 +00:00
.unsupported {
opacity: 1;
height: auto;
display: -webkit-box;
display: -ms-flexbox;
2018-08-01 10:30:57 +00:00
display: flex;
}
.page {
-webkit-filter: blur(12px);
2018-08-01 10:30:57 +00:00
filter: blur(12px);
}
}