blog.notmyidea.org/mnmlist/static/css/main.css

296 lines
4.7 KiB
CSS

/*
Theme Name: mnmlist modified by leplatrem
Theme URI: http://mathieu.agopian.info/mnmlist/theme.html
Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features.
Author: Mathieu Agopian, Mathieu Leplatre
Autor URI: http://mathieu.agopian.info
This theme is uncopyrighted, free, and offered as is.
*/
@import url("pygment.css");
:root {
--main-bg-color: #fff;
--border-color: #ACACAC;
--code-bg-color: #e5e5e2;
--link-color:
#BB7DD4
;
--text-color: #2d2d2d;
--menu-color:
#7971D0
;
--link-color-menu:
#36194D
;
--headers-color: #000;
--citation-bold-color: #bb7dd49a
}
body {
background: var(--main-bg-color);
color: var(--text-color);
font-family: "Helvetica Neue",Arial,sans-serif;
margin-left: auto;
margin-right: auto;
padding: 16px;
max-width: 35em;
font-size: 20px;
}
.section {
margin-top: 40px;
}
h1, h2, h3, h4 {
color: var(--headers-color);
}
h1 {
font-size: 2em;
font-weight: normal;
margin-bottom: 0;
font-weight: bold;
line-height: 1.2em;
}
h1 a {
text-decoration-style: unset;
}
h2 {
font-size: 1.3em;
}
h3 {
font-size: 1em;
}
h4 {
font-size: 0.9em;
}
time {
font-weight: bold;
border-bottom: 1px solid;
padding-bottom: 10px;
padding-right: 5em;
}
img {
border: none;
max-width: 100%;
}
.align-right {
float: right;
max-width: 50%;
}
.align-center {
margin-left: auto;
margin-right: auto;
width: max-content;
max-width: 100%;
}
.footnote:first-of-type {
padding-top: 30px;
}
.footnote:last-of-type {
padding-bottom: 30px;
}
.footnote-reference {
vertical-align: super;
font-size: 0.7em;
}
blockquote {
position: relative;
margin: 1.5em 2ch 1.5em 2ch;
padding: 0;
}
blockquote strong {
background-color: var(--citation-bold-color);
font-weight: normal !important;
}
blockquote::before {
position: absolute;
top: 0;
left: -2ch;
bottom: 0;
width: 1ch;
overflow: hidden;
white-space: pre;
line-height: 30px;
content: ">\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a>\a";
cursor: default;
}
p {
line-height: 30px;
margin:30px auto;
text-indent: 0px;
}
p.caption {
font-size: 80%;
margin-top: 0;
}
a {
color: inherit;
text-decoration-color: var(--link-color);
text-decoration-thickness: 3px;
}
a:hover {
color: var(--link-color);
}
ul, ol {
padding: .5em 0em 1em 3.2em;
}
ul li, ol li {
line-height: 30px;
padding: 0;
}
strong {
font-weight: bold;
}
tt, pre {
font-family: Inconsolata, Monaco, monospace;
line-height: 1.2em;
}
pre {
font-size: 0.8em;
overflow: auto;
padding: 10px;
}
header {
padding-bottom: 20px;
}
header a {
text-decoration: none;
}
header h1 {
margin-bottom: 30px;
}
dt {
font-weight: bold;
}
section.index {
margin-top: 3em;
line-height: 1.5em;
}
section.index h1 {
margin-top: 5px;
margin-bottom: 5px;
}
.index time {
border-bottom: none;
}
#links {
}
#links li {
display: inline-block;
}
#links a {
margin-right: 15px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 10px;
text-decoration-color: var(--link-color-menu);
/*text-decoration-thickness: unset;*/
}
#links a:hover {
color: var(--link-color-menu);
}
#links a.selected {
color: #fff;
background-color: var(--link-color-menu);
}
#links a.selected:hover {
cursor: default;
}
#article-list {
margin-top: 100px;
}
#article-list ol li {
line-height: 1.2em;
list-style-type: none;
padding-bottom: 10px;
}
.note {
background: var(--code-bg-color);
font-style: italic;
padding: 1em 0.5em;
margin: 1em 0;
font-family: Georgia, serif;
}
.note p {
display: inline;
}
.note p.first {
font-weight: bold;
}
.note p.first::after {
content: ' : ';
}
footer {
color: var(--headers-color);
font-size: 13px;
letter-spacing:4px;
margin-left: 20px;
}
footer li {
display: inline;
}
footer p {
text-align: right;
}
footer a {
text-decoration-thickness: unset;
}