forked from quentin/quentin.dufour.io
119 lines
1.7 KiB
CSS
119 lines
1.7 KiB
CSS
html {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-size: 62.5%;
|
|
--color-text: #404040;
|
|
--color-text-second: #6f6f6f;
|
|
--color-accent: #8c0c00;
|
|
--color-second: #ffc0ba80;
|
|
}
|
|
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-family: "Merriweather",Georgia,Times,"Times New Roman",serif;
|
|
color: var(--color-text);
|
|
text-rendering: optimizeLegibility;
|
|
font-feature-settings: "kern", "liga", "dlig", "salt";
|
|
font-size: 2.4rem;
|
|
}
|
|
|
|
main > section, footer {
|
|
max-width: 1000px;
|
|
padding: 3rem 3rem 3rem 200px;
|
|
margin: auto;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
}
|
|
|
|
footer > section {
|
|
width: 50%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 4.8rem;
|
|
font-weight: 500;
|
|
margin: 0px;
|
|
}
|
|
h1::after {
|
|
content: "🙡 🙣";
|
|
font-size: 4.8rem;
|
|
display: block;
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
h2, h3 {
|
|
font-variant: small-caps;
|
|
text-transform: lowercase;
|
|
letter-spacing: 0.1em;
|
|
font-size: 1.8rem;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
h2 {
|
|
position: absolute;
|
|
width: 180px;
|
|
margin: 0px 0px 0px -200px;
|
|
text-align: right;
|
|
padding: 5px 20px 0px 0px;
|
|
}
|
|
|
|
h3 {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
h4, h5, h6 {
|
|
font-weight: normal;
|
|
font-size: 1.8rem;
|
|
margin: 0px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
.list ul {
|
|
padding: 0px;
|
|
}
|
|
|
|
.list li {
|
|
display: inline;
|
|
}
|
|
|
|
.list li:not(:first-child)::before {
|
|
content: "🙘";
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
a, a:hover, a:visited {
|
|
padding: 0rem 0.6rem;
|
|
margin: 0rem -0.6rem;
|
|
color: var(--color-accent);
|
|
text-decoration: none;
|
|
transition: background-color 400ms;
|
|
}
|
|
|
|
a:hover {
|
|
background-color: var(--color-second);
|
|
}
|
|
|
|
.card {
|
|
margin-bottom: 1.8rem;
|
|
}
|
|
|
|
.card > p {
|
|
font-size: 1.6rem;
|
|
color: var(--color-text-second);
|
|
}
|