luciaa.at/style.css

293 lines
3.9 KiB
CSS

body{
margin: 0;
font-size: 16px;
background-color: black;
background-image: url("assets/img/bg.png");
background-repeat: repeat;
background-attachment: fixed;
font-family: "Hack", monospace;
color: green;
}
.content{
max-width: 1000px;
border-left: green 3px solid;
border-right: green 3px solid;
background: black;
margin: 0 auto;
padding-bottom: 1px;
min-height: 100vh;
box-shadow: 0 0 100px 80px black;
}
a{
color: green;
}
#title{
font-size: 1.125em;
}
#title, footer, .heading{
text-align: center;
}
pre{
margin: 0;
}
.site-head{
margin-bottom: 1em;
}
.centered{
width: 100%;
display: inline-block;
text-align: center;
}
h2, .horizontal_divider{
font-size: 1.2em;
text-align: center;
}
h3{
font-size: 1.1em;
}
.additional_spacer{
display: inline-block;
}
nav{
font-size: 1.1em;
}
.links-nav{
display: flex;
flex-direction: row;
row-gap: 0;
padding: 0 10px;
}
.links-nav>span>a{
text-decoration: none;
white-space: pre;
}
.links-nav>span>a:hover{
color: #000000;
background-color: green;
}
a.highlight{
color: #000000;
background-color: green;
text-decoration: none;
}
.projects-grid{
display: grid;
grid-template-columns: auto auto;
}
.socials-grid{
margin-left: 5px;
display: grid;
grid-template-columns: 33% 33.5% 33%;
}
.project, .social, .question{
padding: 5px;
background: #000800;
}
.social, .question, .answer{
margin: 5px 5px;
}
.project, .flowing-text, .legalnotice{
margin: 10px;
}
.buttons-88x31{
display: flex;
gap: 5px;
flex-wrap: wrap;
justify-content: center;
margin: 0 10px;
}
/* FAQ-specific */
.question{
display: block;
font-weight: bold;
}
.answer{
padding: 0 5px;
}
.split>.answer{
background: #000800;
}
.split{
display: grid;
grid-template-columns: auto auto;
}
/* Licenses-specific */
.license-table{
margin: 0 auto;
max-width: 800px;
min-width: 400px;
width: 90%;
}
.license-head{
background: #000800;
text-align: left;
}
.project-column, .by-column{
width: 40%;
}
.license-column{
width: 20%;
}
/* Text-/ASCII-Art formating */
.flags{
font-size: 0.5em;
line-height: 1;
padding-bottom: 10px;
}
.no-underline{
text-decoration: none;
}
.no-top-margin{
margin-top: 0;
padding-top: 5px;
}
.no-overflow{
overflow: hidden;
vertical-align: top;
}
.flex-row{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.smol{
font-size: 0.5em;
}
/* Colors */
.blue{
color: lightblue;
}
.lightpink{
color: pink;
}
.white{
color: white;
}
.pink{
color: #D60270;
}
.purple{
color: #734F96;
}
.darkblue{
color: #0038A8;
}
.violet{
color: #46005F;
}
/* Responsive Design */
@media (min-width: 1000px){
.spacer::before{
content: "================================="
/* 33 symbols */
}
}
@media (max-width: 999px) and (min-width: 605px){
.spacer::before{
content: "================";
/* 16 symbols */
}
.socials-grid{
grid-template-columns: auto auto;
}
}
@media (max-width: 604px){
.additional-spacer{
display:none;
}
.projects-grid{
grid-template-columns: auto;
}
.socials-grid{
grid-template-columns: auto;
}
}
@media (max-width: 999px) and (min-width: 750px){
.site-head{
font-size: 0.75em;
}
}
@media (max-width: 749px) and (min-width: 510px){
.site-head{
font-size: 0.5em;
}
}
@media (max-width: 509px){
.site-head{
font-size: 0.35em;
}
}
@media (max-width: 570px){
.links-nav{
flex-direction: column;
}
.links-nav>pre>a{
width: 100%;
display: inline-block;
text-align: center;
}
.vertical-divider-nav{
display: none;
}
}