]> git.draconx.ca Git - homepage.git/blob - content/style.css
Add links from generated pages to source code on gitweb.
[homepage.git] / content / style.css
1 /*
2  * Nick's web site: default stylesheet
3  *
4  * Copyright © 2018 Nick Bowler
5  *
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.
10  *
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.
15  *
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/>.
18  */
19
20 body {
21     font-family: sans-serif;
22     margin: 1em;
23 }
24
25 p {
26     text-align: justify;
27     padding: 0;
28     margin: 1em 0;
29     max-width: 50em;
30 }
31
32 #footer {
33     border-top: 1px solid lightgray;
34     max-width: 50em;
35     margin: 0;
36     padding: 0;
37 }
38
39 #footer>p {
40     text-align: center;
41     font-size: 0.9em;
42     max-width: none;
43 }
44
45 @media (max-width: 512px) {
46     p, #footer>p { text-align: left; }
47 }