Sélectionner une révision Git
style.css 2,81 Kio
@font-face {
font-family:'DejaVu Sans';
src:url("/fonts/DejaVuSans-ExtraLight.woff2") format('woff2'),
url("/fonts/DejaVuSans-ExtraLight.woff") format('woff');
font-weight:200;
font-style:normal
}
*, ::before, ::after {
box-sizing: inherit;
}
body, button, input, select, optgroup, textarea {
font-family: 'DejaVu Sans', sans-serif;
font-weight: 100;
font-size: 16px;
font-size: 1rem;
line-height: 1.5;
color: #1c2f82;
}
body {
height:100vh;
margin:0;
display: flex;
flex-direction: column;
}
a {
color: #1C2F82;
background-color: transparent;
text-decoration: none;
color: #1C2F82;
}
a:visited {
color: #1C2F82;
}
p {
margin-bottom: .5em;
text-align: justify;
}
img {
display: block;
height: auto;
max-width: 100%;
margin: 0 auto;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
width: 800px;
margin: 25px auto;
}
nav .logo {
width: 155px;
margin-top: 10px;
}
main {
width: 750px;
margin: 50px auto;
}
section { margin: 100px 0;
}
table {
margin: 0 auto;
border-collapse: collapse;
}
table thead {
border-bottom: solid 2px;
}
table th,
table td {
border-left: solid 1px;
}
table tr th:first-child,
table tr td:first-child {
border-left: none;
}
table tr {
border-bottom: thin;
}
table th,
table td {
padding: 5px 10px;
}
ul {
margin: 0;
}
.menu {
display: flex;
justify-content: space-between;
align-items: center;
width: 50%;
}
.menu-item a {
text-decoration: none;
font-size: 13px;
color: #1C2F82;
border: 1px solid #1C2F82;
padding-bottom: 7px;
padding-right: 17px;
padding-left: 15px;
padding-top: 8px;
background-color: transparent;
font-family: monospace;
}
.menu-shadow {
display: block;
width: 85%;
cursor: pointer;
background-color: #FFD14C;
padding-left: 3px;
padding-top: 8px;
}
.post {
margin: 50px 0;
}
.post-title {
background-color: #ffd14c; border-radius: 1.2em;
padding: 0 10px;
font-size: 1.2em;
font-weight: bold;
}
.post-info {
font-size: 0.8em;
font-weight: lighter;
}
.post-summary {
padding-left: 25px;
}
.taxonomy {
background-color: #ffd14c;
border-radius: 1em;
padding: 2px 12px;
}
.mastodon_button {
display: block;
width: 400px;
margin: 20px auto;
padding: 5px 10px;
border-radius: 4px;
background-color: #2b90d9;
color: #fff;
font-family: sans-serif;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
text-align: center;
}
.mastodon_button:visited {
color: #fff;
}
.comment {
display: block;
padding: 10px;
margin: 20px;
border: solid #1c2f82 2px;
border-radius: 4px;
}
.comment > .author {
font-weight: bold;
}
footer {
margin-top: auto;
padding-bottom: 10px;
text-align: center;
font-size: 12px;
}
footer .logo {
display: inline-block;
height: 20px;
margin: 10px;
}