/* Theme Name: mnmlist modified by Alexis Métaireau 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: #ffffff; --border-color: #ACACAC; --code-bg-color: #f6f6f6; --quote-bg-color: #f6f6f6; --link-color: #BB7DD4; --text-color: #2d2d2d; --menu-color: #7971D0; --link-color-menu: #36194D; --headers-color: #000; --citation-bold-color: #f5ff889a; --highlight: #8f9fa926; --highlight-hover: #84a59d; --gray: #ACACAC; --lightgray: #e0dcd3; } @font-face { font-family: "Luciole"; src: url("../fonts/Luciole-Regular.ttf") format("ttf"); font-style: normal; font-weight: 350; font-stretch: 100%; font-display: swap; } body { background: var(--main-bg-color); color: var(--text-color); font-family: "Luciole", Arial, sans-serif; /* background-image: url(/theme/white-waves.webp); */ background-repeat: repeat; margin-left: auto; margin-right: auto; padding: 16px; max-width: 45em; font-size: 20px; } @media only screen and (max-width: 768px) { /* For mobile phones: */ body { padding: 5px; max-width: 100%; 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; line-height: 1.2em; } h1 a { text-decoration-style: unset; } h1 small { font-size: 0.7em; } h2 { font-size: 1.3em; } h3 { font-size: 1em; } h4 { font-size: 0.9em; } time { font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; } .book-container{ grid-template-columns: 1fr 1fr; display: grid; align-items: start; } 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: 1em 2ch 1em 2ch; background-color: var(--quote-bg-color); padding-left: 1em; padding-right: 1em; padding-top: 0.1em; padding-bottom: 0.1em; } blockquote strong { background-color: var(--citation-bold-color); font-weight: normal !important; } blockquote::before, blockquote::after { font-size: 2em; position: absolute; overflow: hidden; white-space: pre; line-height: 30px; cursor: default; } blockquote::before { top: 0; left: -1ch; bottom: 0; width: 1ch; content: "«"; } blockquote::after { bottom: 0; right: -1.2ch; width: 1ch; content: "»"; } 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); } a.tag { border-radius: 5px; padding: 0 .1rem; text-decoration: none; } .tag { border-radius: 5px; padding: 0 .1rem; font-size: 0.7em; text-decoration: none; display: inline-block; } a.tag:hover { color: var(--highlight-hover); } 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: pre-wrap; } 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 { padding-top: 5px; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; text-decoration-color: var(--link-color-menu); /*text-decoration-thickness: unset;*/ } #links li a:not(.main){ text-transform: lower-case; } #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; } p code { font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; background: var(--code-bg-color); padding: 2px 4px; font-size: .9em; line-height: 1; border-radius: 6px; } .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 { text-align: center; color: var(--headers-color); letter-spacing: 4px; } 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; } a[data-size]::after { content: attr(data-size); vertical-align: super; font-style: italic; font-size: 10px; } a[data-size='2'] { font-size: 1.3em; } a[data-size='3'] { font-size: 1.6em; } a[data-size='4'] { font-size: 1.8em; } a[data-size='5'] { font-size: 2.2em; } .footer #feed { top: 5px; } #feed { text-decoration: none; position: relative; } #feed img { height: 25px; width: 25px; } .book-cover { max-width: 128px; max-height: 192px; margin: auto; margin-top: 2em; padding-right: 0.5em; } dd { padding-bottom: 1em; } #content { background-color: var(--main-bg-color); padding: 0.5em 1em; } .progressbar { font-size: 1em; display: inline; float: left; } .post-title { margin-bottom: 0px; } .items { padding-left: 0px; } .item { flex-direction: row; display: flex; padding-bottom: 0.5em; } .page-title { flex: 0; } .item>time { flex: 1; text-align: right; color: #acabab; padding-left: 1em; } #content header{ text-align: center; } nav { padding-top: 2em; } .navigation { list-style-type: none; padding-left: 0px; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .navigation > li { display: inline-flex; padding: 0px 0.5em; } .navigation > li::after { content: " "; letter-spacing: 1em; background: linear-gradient(90deg, transparent calc(50% - 0.03125em), currentColor 0, currentColor calc(50% + 0.03125em), transparent 0); }