mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
388 lines
No EOL
6.5 KiB
CSS
388 lines
No EOL
6.5 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, Alexis Métaireau
|
|
Autor URI: http://mathieu.agopian.info
|
|
|
|
This theme is uncopyrighted, free, and offered as is.
|
|
*/
|
|
|
|
@import url("pygment.css");
|
|
|
|
:root {
|
|
--main-bg-color: #f5f2e9;
|
|
--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;
|
|
--highlight: #8f9fa926;
|
|
--highlight-hover: #84a59d;
|
|
--gray: #ACACAC;
|
|
--lightgray: #e0dcd3;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Bricolage Grotesque";
|
|
src: url("../fonts/BricolageGrotesque96pt-Regular.woff2") format("woff2");
|
|
font-style: normal;
|
|
font-weight: 350;
|
|
font-stretch: 100%;
|
|
font-display: swap;
|
|
unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
|
|
|
body {
|
|
background: var(--main-bg-color);
|
|
color: var(--text-color);
|
|
font-family: "Bricolage Grotesque",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;
|
|
font-weight: 600;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--link-color);
|
|
}
|
|
|
|
a.tag {
|
|
background-color: var(--highlight);
|
|
border-radius: 5px;
|
|
padding: 0 .1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.tag:hover {
|
|
color: var(--highlight-hover);
|
|
}
|
|
|
|
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;
|
|
white-space: initial;
|
|
}
|
|
|
|
header {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
header a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
header h1 {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
|
|
dt {
|
|
font-weight: bold;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
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: initial;
|
|
list-style-type: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
# links li:nth-child(1) {
|
|
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.main {
|
|
color: #fff;
|
|
background-color: var(--link-color-menu);
|
|
}
|
|
|
|
#links a.selected {
|
|
text-decoration-color: var(--link-color);
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
table {
|
|
margin: 0 0 2em 0;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
table thead {
|
|
border-bottom: solid 2px rgba(255, 255, 255, 0.125);
|
|
}
|
|
|
|
table th {
|
|
color: #000;
|
|
font-size: 0.9em;
|
|
font-weight: 600;
|
|
padding: 0 0.75em 0.75em 0.75em;
|
|
text-align: left;
|
|
}
|
|
|
|
table tbody tr:nth-child(2n+1) {
|
|
background-color: rgba(0, 0, 0, 0.025);
|
|
}
|
|
|
|
table td {
|
|
padding: 0.75em 0.75em;
|
|
}
|
|
|
|
hr {
|
|
background-color: var(--lightgray);
|
|
color: var(--gray);
|
|
text-align: center;
|
|
border: none;
|
|
width: 100%;
|
|
height: 1px;
|
|
margin: 3rem auto;
|
|
border-color: var(--gray);
|
|
overflow: visible;
|
|
}
|
|
|
|
|
|
hr::after {
|
|
content: "* * *";
|
|
margin: -1em 0 .5em;
|
|
padding: .5em 1em;
|
|
font-size: 1.5em;
|
|
display: inline-block;
|
|
background-color: var(--main-bg-color);
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 710px) {
|
|
ul li:nth-child(1):after {
|
|
content: "\A";
|
|
white-space: pre;
|
|
}
|
|
}
|
|
|
|
#links ul {
|
|
padding: 0;
|
|
} |