lynnesbian.space/assets/style.css

107 lines
1.5 KiB
CSS

html {
background: #fafafa;
}
body {
font-family: "Roboto", sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}
#main {
flex-grow: 1;
width: 80%;
margin: 0 auto;
}
h1 {
text-align: center;
font-size: 4em;
font-weight: 200 !important;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Open Sans", "Roboto", sans-serif;
font-weight: 400;
}
#bune {
height:200px;
min-height: 15vh;
margin: 50px auto 0;
display: block;
}
p, footer, ul {
margin: 20px auto;
line-height: 1.3em;
}
p, ul {
font-size: 120%;
}
li {
margin-top: 3px;
}
ul {
list-style-type: "- ";
}
a {
color: mediumpurple;
text-decoration: none;
}
#projects {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.project {
flex: 1 0 400px;
background: linear-gradient(to bottom, #0dd, mediumpurple) no-repeat;
background-size: 2px;
padding: 10px;
margin: 10px;
position: relative;
}
.project::before {
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
z-index: -1;
position: absolute;
background: linear-gradient(to bottom right, #00000003, #0000000c);
}
.project h2 {
margin-top: 0;
}
footer {
text-align: center;
color: grey;
font-style: italic;
box-sizing: content-box;
}
footer p {
font-size: unset;
margin: 5px;
}
footer a:not(:last-child)::after {
content: " - "
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
body {
font-size: 250%;
}
p, footer, ul {
line-height: 1.6em;
}
h1 {
margin-top: 0;
}
}