2 * Nick's web site: default stylesheet
4 * Copyright © 2018 Nick Bowler
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <https://www.gnu.org/licenses/>.
21 font-family: sans-serif;
27 max-width: 30em; /* 60rem */
32 max-width: 40em; /* 60rem */
64 li { margin: 0 0 0 2em; }
65 dd { margin: 0 0 0 1em; }
71 ul.ordered>li>span:first-child, ul.ordered>li>*:first-child>span:first-child {
72 display: inline-block;
85 border-top: 1px solid lightgray;
92 .permalink a:link, .permalink a:visited {
110 display: inline-block;
118 font-family: monospace;
126 #breadcrumbs, #sitetitle { text-align: left; }
127 #breadcrumbs>*, #sitetitle>* { font-size: 0.8em; }
131 display: inline-block;
134 #breadcrumbs>strong {
141 list-style-type: none;
154 #breadcrumbs>ul>li::before { content: "/ " }
155 #breadcrumbs>ul>li:first-child::before { content: none; }
157 @media (max-width: 512px) {
158 body { margin: 0.6em; }
159 ul ul { margin-left: -1.2em; }
163 @media (max-width: 28em) { li, dd, dt, p { text-align: left; } }
164 @media (max-width: 35em) {
165 #sitetitle>* { float: none; }
166 #footer { padding: 0 1em; }