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/pages/style.css

321 lines
4.6 KiB
CSS

/* CSS Document */
html, body {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
margin: 0;
padding: 0;
background-color: black;
height: 100%;
width: 100%;
}
.topnav {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
padding-top: 20px;
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
user-select: none;
-o-user-select: none;
}
.topnav a {
color: white;
text-align: center;
text-decoration: none;
padding: 14px;
font-size: 30px;
font-family: 'Oswald', sans-serif;
font-weight: 300;
}
.topnav a.rainbow {
background: linear-gradient(to right, #33ffc5 20%, #fc33ff, #ff3370, #ff3333, #3dff33, #33ffc5);
background-size: 800px, 800px;
color: aquamarine;
background-clip: text;
text-fill-color: transparent;
animation: gradient 2s linear infinite;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
h1 {
font-size: 120px;
margin: 0%;
width: 100%;
position: absolute;
bottom: 10%;
}
.arrow-down {
border: solid white;
opacity: 0.4;
border-width: 0 2px 2px 0;
display: inline-block;
padding: 6px;
margin-left: -6px;
position: absolute;
transform: rotate(45deg);
animation: bounce 1.5s infinite;
transition: 1s;
}
/* ARROW BOUNCE */
@keyframes bounce {
0% { top: 94%; }
50% { top: 92%; }
100% { top: 94%; }
}
h2 {
margin: 0%;
padding: 20px;
padding-top: 38px;
font-size: 40px;
}
h3 {
margin: 0%;
padding: 20px;
font-size: 25px;
}
.top-bar, footer {
background: linear-gradient(45deg, #067062, #063d70, #2d0670, #4e0670, #700667);
background-size: 1000%, 100%;
animation: gradient 7s linear infinite;
animation-direction: alternate-reverse;
color: white;
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
user-select: none;
-o-user-select: none;
}
.top-bar {
height: 100%;
text-align: center;
}
.content {
font-family: 'Montserrat', sans-serif;
font-weight: 200;
background-color: #151515;
font-size: 20px;
color: white;
width: 100%;
text-align: center;
box-sizing: border-box;
padding-left: 10%;
padding-right: 10%;
padding-bottom: 20px;
}
.content a {
text-decoration: none;
color: paleturquoise;
position: relative;
}
ul {
list-style-type: none;
padding: 0%;
margin: 0%;
}
li {
padding: 16px;
}
/* ANIMATED GRADIENT BACKGROUND */
@keyframes gradient {
0% {background-position: 0%}
100% {background-position: 100%}
}
/*MOBILE*/
@media (min-width: 0px) and (max-width: 200px) {
h1 {
font-size: 20px;
}
h2 {
font-size: 15px;
padding-top: 20px;
}
h3
{
font-size: 8px;
}
.content {
font-size: 10px;
}
.topnav a {
font-size: 8px;
}
li {
padding: 5px;
}
}
@media (min-width: 200px) and (max-width: 300px) {
h1 {
font-size: 39px;
}
h2 {
font-size: 18px;
padding-top: 25px;
}
h3
{
font-size: 10px;
}
.content {
font-size: 13px;
}
.topnav a {
font-size: 11px;
}
li {
padding: 6px;
}
}
@media (min-width: 300px) and (max-width: 400px) {
h1 {
font-size: 52px;
}
h2 {
font-size: 21px;
padding-top: 28px;
}
h3
{
font-size: 13px;
}
.content {
font-size: 16px;
}
.topnav a {
font-size: 18px;
}
li {
padding: 8px;
}
}
@media (min-width: 400px) and (max-width: 500px) {
h1 {
font-size: 64px;
}
h2 {
font-size: 25px;
padding-top: 31px;
}
h3
{
font-size: 15px;
}
.content {
font-size: 18px;
}
.topnav a {
font-size: 27px;
}
li {
padding: 10px;
}
}
@media (min-width: 500px) and (max-width: 600px) {
h1 {
font-size: 80px;
}
h2 {
font-size: 30px;
}
h3
{
font-size: 18px;
}
.content {
font-size: 20px;
}
.topnav a {
font-size: 29px;
}
li {
padding: 13px;
}
}
@media (min-width: 600px) and (max-width: 800px) {
h1 {
font-size: 95px;
}
h2 {
font-size: 35px;
}
h3
{
font-size: 20px;
}
.content {
font-size: 23px;
}
.topnav a {
font-size: 29px;
}
}
/* 4K+ MONITORS*/
@media (min-width: 2100px) {
h1 {
font-size: 150px;
}
h2 {
font-size: 45px;
padding: 40px;
}
.content {
font-size: 25px;
}
li {
padding: 20px;
}
}
@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');
}