You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/static/css/style.css

171 lines
2.6 KiB
CSS

/* General */
body {
font-family: system-ui, sans-serif;
background-color: #fbfefb;
}
body,p {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
p, li {
font-weight: 400;
font-size: large;
line-height: 28px;
vertical-align: baseline;
color: rgb(56, 71, 67);
margin-bottom: 2rem;
}
h1, h2, h3, h4, h5, h6 {
color: #05bf85;
}
h1 {
font-weight: 400;
}
a:link, a:visited {
color: rgb(0, 108, 172);
text-decoration: none;
}
li {
margin-bottom: 0rem;
}
a:hover, a:active {
color:seagreen;
}
.banner div {
background-image: url(/fond-resized.jpg);
background-repeat:no-repeat;
background-size:cover;
background-position:center;
width: 100%;
height: 250px;
line-height: 13rem;
text-align: center;
vertical-align: middle;
margin-bottom: 5rem;
}
.banner div > h1 {
color: rgb(36, 46, 43);
vertical-align: baseline;
}
.banner div > h2 {
font-weight: 400;
color: rgb(56, 71, 67);
vertical-align: baseline;
}
#menu-blog {
font-weight: 500;
font-size: larger;
line-height: 96px;
vertical-align: middle;
}
#menu-blog a {
padding-right: 2rem;
}
.post {
margin-left: 1rem;
margin-right: 1rem;
}
.summary {
margin-top: 0rem;
}
.article > h1 {
margin-bottom: 0rem;
}
.meta {
margin-top: 0rem;
margin-bottom: 0rem;
}
.meta > span {
display: inline;
margin-right: 1rem;
}
.meta-post {
margin-top: 0rem;
margin-bottom: 2.4rem;
}
.meta-post > span {
display: inline;
margin-right: 1rem;
}
.hidden {
display: none;
}
#comment-form > form > fieldset > .remarque {
display: none;
}
.comment-separator {
height:0.1rem;
background:#717171;
border-bottom:0.2rem solid #6E9CC7;
margin-bottom: 1rem;
}
.comment-indicator {
color: coral;
}
.comment-author {
font-weight: 500;
}
.comment-detail {
margin-bottom: 2.5rem;
}
.comment-body {
margin-left: 4.2rem;
}
/* Footer */
footer {
background: #f0f0f0;
border-top: thin solid #e0e0e0;
margin-left: 2rem;
margin-right: 2rem;
margin-top: 2rem;
padding: 1rem 0;
box-shadow: 0 100vh 0 100vh #f0f0f0;
}
.txtright {
text-align: right;
}
/* image placement (https://stackoverflow.com/questions/255170/markdown-and-image-alignment) */
img[src*='#left'] {
float: left;
margin-left: 20px;
margin-right: 20px;
}
img[src*='#right'] {
float: right;
margin-left: 20px;
margin-right: 20px;
}
img[src*='#center'] {
display: block;
margin: auto;
}