This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Mind-Overflow-Website/styles/common-style.css

347 lines
5.3 KiB
CSS

@charset "utf-8";
/* CSS Document */
html, body {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
h1 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
width: 100%;
color: white;
position: absolute;
}
h2 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
color: white;
margin: 0;
padding: 38px 0 20px;
font-size: 40px;
}
h3 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
color: white;
margin: 0;
padding: 30px 0 0;
font-size: 33px;
}
h4 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
color: white;
margin: 0;
padding: 20px;
font-size: 25px;
}
a {
text-decoration: none;
color: paleturquoise;
position: relative;
}
/* Begin policy popup */
/* todo: this makes the page a little bit higher & larger, adding bars. fix it */
.policy-popup {
display: none; /*Hidden, we want to show it via JavaScript */
/* Theming */
background: #151515;
color: white;
border-radius: 3px;
padding: 10px;
font-size: 25px;
box-sizing: border-box;
box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
/* Disable text highlighting */
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
user-select: none;
-o-user-select: none;
/* Size */
width: 600px;
overflow: hidden;
/* Positioning */
position: fixed;
left: 50px;
bottom: 75px;
z-index: 2;
}
.policy-popup p {
font-family: 'Montserrat', sans-serif;
font-weight: 200;
color: white;
font-size: 13px;
padding: 0 20px;
}
.policy-popup button {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: 13px;
transition-duration: 0.4s;
border-radius: 3px;
background-color: #484848;
border: none;
cursor: pointer;
color: white;
padding: 15px 30px;
text-align: center;
margin: 20px;
float: right;
}
.policy-popup button:hover {
background-color: #44277a;
}
/* End policy popup */
/* Begin media queries for elements size */
@media (min-width: 0px) and (max-width:200px) {
h4 {
font-size: 8px;
}
.policy-popup {
/* centered */
left: 5px;
width: 100px;
bottom: 50px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 7px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size:7px;
margin: 10px;
padding: 5px 8px;
}
}
@media (min-width: 200px) and (max-width: 300px) {
h4 {
font-size: 10px;
}
.policy-popup {
/* centered */
left: 50%;
margin-left: -100px; /* this has to be half the width */
width: 200px;
bottom: 50px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 8px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size: 8px;
margin: 10px;
padding: 10px 15px;
}
}
@media (min-width: 300px) and (max-width: 400px) {
h4 {
font-size: 13px;
}
.policy-popup {
/* centered */
left: 50%;
margin-left: -140px; /* this has to be half the width */
width: 280px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 8px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size: 8px;
margin: 10px;
padding: 10px 15px;
}
}
@media (min-width: 400px) and (max-width: 500px) {
h4 {
font-size: 15px;
}
.policy-popup {
/* centered */
left: 50%;
margin-left: -175px; /* this has to be half the width */
width: 350px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size:10px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size: 10px;
margin: 10px;
padding: 10px 15px;
}
}
@media (min-width: 500px) and (max-width: 600px) {
h4 {
font-size: 18px;
}
.policy-popup {
width: 400px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 11px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size: 11px;
margin: 10px;
}
}
@media (min-width: 600px) and (max-width: 700px) {
h4 {
font-size: 21px;
}
.policy-popup {
width: 500px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 11px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
font-size: 11px;
margin: 10px;
}
}
@media (min-width: 700px) and (max-width: 1000px) {
h4 {
font-size: 23px;
}
.policy-popup h4 {
padding: 15px 15px;
}
.policy-popup p {
font-size: 13px;
padding: 0 15px;
margin: 0;
}
.policy-popup button {
margin: 10px;
}
}
/* 4K MONITORS */
@media (min-width: 2100px) {
.policy-popup p {
font-size: 15px;
}
.policy-popup button {
font-size: 15px;
}
}
/* End media queries */
/* Begin fonts */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 100;
src: url(https://fonts.gstatic.com/s/oswald/v24/TK3_WkUHHAIjg75cFRf3bXL8LICs169vsUZiZQ.woff2) format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 800;
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_c5H3gnD_g.woff2) format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 200;
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_aZA3gnD_g.woff2) format('woff2');
}
/* End fonts */