mind-overflow-website-ghost.../assets/css/page-style.css
Lorenzo DellacĂ  eb6304aab2 completed transitioning from static HTML&CSS-only website to Ghost CMS.
next step is to readapt the style to be more "content-friendly".
2020-08-12 15:03:22 +02:00

238 lines
3.3 KiB
CSS

@charset "utf-8";
/* CSS Document */
html, body {
background-color: black;
}
.navbar {
padding-top: 20px;
}
h1 {
font-size: 120px;
margin: 0;
box-sizing: border-box;
padding-left: 5%;
padding-right: 5%;
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%; }
}
.mind-fullscreen-title, 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;
-ms-user-select: none;
user-select: none;
}
.mind-fullscreen-title {
height: 100%;
text-align: center;
}
.mind-content {
font-family: 'Montserrat', sans-serif;
font-weight: 200;
background-color: #151515;
font-size: 25px;
color: white;
width: 100%;
text-align: left;
box-sizing: border-box;
padding-top: 20px;
padding-left: 10%;
padding-right: 10%;
padding-bottom: 20px;
}
/* COLORED TEXT SELECTION */
::selection {
color: #2d0670;
/*
We need RGBA because Chrome forces it to be semi-trasparent, making white look like grey.
By setting it to 99.5% opacity, we can override this. 100% does not work, however.
*/
background: rgba(255, 255, 255, 0.995);
}
/* 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;
}
.mind-content {
font-size: 10px;
}
.navbar a {
font-size: 10px;
}
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: 16px;
padding-top: 25px;
}
.mind-content {
font-size: 13px;
}
.navbar 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: 19px;
padding-top: 28px;
}
.mind-content {
font-size: 16px;
}
.navbar a {
font-size: 16px;
}
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: 22px;
padding-top: 31px;
}
.mind-content {
font-size: 18px;
}
.navbar a {
font-size: 21px;
}
li {
padding: 10px;
}
}
@media (min-width: 500px) and (max-width: 600px) {
h1 {
font-size: 80px;
}
h2 {
font-size: 30px;
}
h3 {
font-size: 25px;
}
.mind-content {
font-size: 20px;
}
.navbar a {
font-size: 26px;
}
li {
padding: 13px;
}
}
@media (min-width: 600px) and (max-width: 700px) {
h1 {
font-size: 95px;
}
h2 {
font-size: 35px;
}
h3 {
font-size: 30px;
}
.mind-content {
font-size: 23px;
}
.navbar a {
font-size: 29px;
}
}
/* 4K+ MONITORS*/
@media (min-width: 2100px) {
h1 {
font-size: 150px;
}
h2 {
font-size: 45px;
padding: 40px;
}
.mind-content {
font-size: 25px;
}
li {
padding: 20px;
}
}