website/template/gnuragistes/static/css/gnuragistes.css

130 lines
1.8 KiB
CSS

/* includes */
@import "classes.css";
@import "Fork-Awesome/css/fork-awesome.min.css";
/* fonts */
@font-face
{
font-family: "OpenDyslexic";
src: url("../fonts/OpenDyslexic-Regular.eot");
src: url("../fonts/OpenDyslexic-Regular.woff") format("woff"),
url("../fonts/OpenDyslexic-Regular.ttf") format("truetype"),
url("../fonts/OpenDyslexic-Regular.svg") format("svg");
font-weight: normal;
font-style: normal;
}
/* common html tags */
body
{
background-color: #0F0F0F;
font-family: OpenDyslexic;
color: darkturquoise;
max-width: 85%;
margin-left: auto;
margin-right: auto;
margin-top: 1rem;
line-height: 3rem;
/*background: linear-gradient(to left top, #0F0F0F, #000) fixed;*/
}
ul
{
display: flex;
justify-content: space-around;
align-items: center;
min-height: 8vh;
font-weight: bold;
font-size: 2rem;
list-style: none;
padding-left: 1rem;
}
li a,
a
{
text-decoration: none;
color: lightgreen;
}
h1
{
font-size: 4rem;
color: white;
}
h2
{
font-size: 3rem;
color: white;
}
h3
{
font-size: 2rem;
color: white;
}
hr
{
border: 0.3rem solid grey;
border-radius: 0.5rem;
}
img
{
max-width: 50%;
height: auto;
}
p
{
font-size: 2rem;
/*text-transform: uppercase;*/
font-weight: bold;
}
/* for smaller screens transformations */
@media (max-width: 1024px)
{
/* common html tags */
body
{
line-height: 1.8;
}
div
{
font-size: 1.6rem;
}
h1
{
font-size: 4rem;
}
h2
{
font-size: 3rem;
}
h3
{
font-size: 2rem;
}
img
{
max-width: 90%;
height: auto;
}
p
{
font-size: 2rem;
text-transform: uppercase;
font-weight: bold;
}
}