caesarschinas.com/style.css

75 lines
1,022 B
CSS

html {
background: #eee;
color: #444;
font-family: "Gentium Basic", serif;
min-height: 80%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
body {
max-width: 30em;
margin: auto;
padding: 2em;
font-size: 20px;
line-height: 1.5em;
}
h1, p {
margin: 0;
}
header {
margin: 0 0 1em;
}
h1 {
font-weight: normal;
}
h1, .ipa {
display: inline-block;
}
.ipa {
color: #888;
margin: 0 0 0 1em;
letter-spacing: 0.05em;
}
img.profile {
float: right;
height: 5em;
width: 5em;
border-radius: 50%;
border: 1px solid #ccc;
margin: 0 1em 0.5em 1em;
}
.contact {
list-style-type: none;
margin: 0.5em 0;
padding: 0;
}
.contact li {
list-style-type: none;
display: inline;
margin: 0;
}
.contact a {
width: 1em;
overflow: hidden;
text-decoration: none;
font-size: 1.8em;
margin: 0 0.25em;
color: inherit;
}
.contact a:before {
margin-right: 1em;
}
.contact a:hover {
color: #08f;
}
@media (prefers-color-scheme: dark) {
html {
background: #333;
color: #aaa;
}
}