diff options
| author | Julian Blake Kongslie | 2011-11-23 17:09:41 -0800 |
|---|---|---|
| committer | Julian Blake Kongslie | 2011-11-23 19:28:54 -0800 |
| commit | 555fe1cc4d96047df2a2000cf138e41d3e301b8d (patch) | |
| tree | a15a37dbf8c1948494fef434ea499d3746a566c7 | |
| parent | Switch to manually managing git pulls instead of ikiwiki doing it. (diff) | |
| download | writing-555fe1cc4d96047df2a2000cf138e41d3e301b8d.tar.xz | |
Various stylesheet changes.
| -rw-r--r-- | index.mdwn | 4 | ||||
| -rw-r--r-- | style.css | 65 | ||||
| -rw-r--r-- | templates/page.tmpl | 1 |
3 files changed, 57 insertions, 13 deletions
| @@ -10,8 +10,8 @@ distinct font, try upgrading to a newer version. | |||
| 10 | 10 | ||
| 11 | I have some [[standard notes|notes]] on the Harry Potter universe. | 11 | I have some [[standard notes|notes]] on the Harry Potter universe. |
| 12 | 12 | ||
| 13 | My oneshots: | 13 | > My oneshots: |
| 14 | [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] | 14 | > [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] |
| 15 | 15 | ||
| 16 | For my own reference, this ikiwiki supports these directives: | 16 | For my own reference, this ikiwiki supports these directives: |
| 17 | [[!listdirectives]] | 17 | [[!listdirectives]] |
| @@ -16,13 +16,46 @@ | |||
| 16 | src: url(fonts/Junkyard.ttf); | 16 | src: url(fonts/Junkyard.ttf); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | body { | 19 | blockquote { |
| 20 | font-family: UnBatang, "Palatino", "URW Palladio L", "Book Antiqua", serif; | 20 | background-color: #f0f0c9; |
| 21 | font-size: 0.9em; | ||
| 22 | margin: 0; | ||
| 23 | padding: 1em; | ||
| 24 | } | ||
| 25 | |||
| 26 | em { font-style: italic; } | ||
| 27 | |||
| 28 | h1, h2, h3, h4, h5, h6 { | ||
| 29 | font-weight: bold; | ||
| 30 | margin-bottom: 1ex; | ||
| 31 | margin-top: 1ex; | ||
| 32 | } | ||
| 33 | |||
| 34 | h1 { font-size: 2em; } | ||
| 35 | h2 { font-size: 1.8em; } | ||
| 36 | h3 { font-size: 1.6em; } | ||
| 37 | h4 { font-size: 1.4em; } | ||
| 38 | h5 { font-size: 1.2em; } | ||
| 39 | |||
| 40 | hr { | ||
| 41 | border: 0px solid #000; | ||
| 42 | border-top: 1px solid #000; | ||
| 43 | margin: 1em; | ||
| 44 | } | ||
| 45 | |||
| 46 | html { | ||
| 47 | font-family: UnBatang; | ||
| 48 | background-color: #fafad2; | ||
| 49 | } | ||
| 50 | |||
| 51 | p { | ||
| 52 | margin-bottom: 1ex; | ||
| 53 | margin-top: 1ex; | ||
| 21 | } | 54 | } |
| 22 | 55 | ||
| 23 | section.header { | 56 | section.header { |
| 24 | font-size: 1.5em; | ||
| 25 | text-align: center; | 57 | text-align: center; |
| 58 | font-size: 1.2em; | ||
| 26 | } | 59 | } |
| 27 | 60 | ||
| 28 | section.content { | 61 | section.content { |
| @@ -34,22 +67,32 @@ section.content { | |||
| 34 | } | 67 | } |
| 35 | 68 | ||
| 36 | section.footer { | 69 | section.footer { |
| 37 | font-size: 0.75em; | 70 | font-size: 0.8em; |
| 38 | font-style: italic; | 71 | font-style: italic; |
| 39 | text-align: center; | 72 | text-align: center; |
| 40 | } | 73 | } |
| 41 | 74 | ||
| 42 | blockquote { | 75 | strong { font-weight: bold; } |
| 43 | background-color: #eee; | ||
| 44 | margin: 0; | ||
| 45 | padding: 1ex; | ||
| 46 | } | ||
| 47 | 76 | ||
| 48 | table { | 77 | table { |
| 49 | margin-left: auto; | 78 | margin-left: auto; |
| 50 | margin-right: auto; | 79 | margin-right: auto; |
| 51 | } | 80 | } |
| 52 | 81 | ||
| 53 | .parsel { | 82 | th { |
| 54 | font-family: "Junkyard"; | 83 | font-weight: bold; |
| 84 | padding: 0.4ex; | ||
| 85 | } | ||
| 86 | |||
| 87 | td { padding: 0.4ex; } | ||
| 88 | |||
| 89 | ul li { | ||
| 90 | list-style-type: square; | ||
| 91 | margin-left: 2em; | ||
| 55 | } | 92 | } |
| 93 | |||
| 94 | .feedlink { font-size: 0.8em; } | ||
| 95 | |||
| 96 | .parsel { font-family: "Junkyard"; } | ||
| 97 | |||
| 98 | .small { font-size: 0.8em; } | ||
diff --git a/templates/page.tmpl b/templates/page.tmpl index f7baae0..bef43ed 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | <head> | 4 | <head> |
| 5 | <meta charset="utf-8" /> | 5 | <meta charset="utf-8" /> |
| 6 | <title><TMPL_VAR TITLE></title> | 6 | <title><TMPL_VAR TITLE></title> |
| 7 | <link rel="stylesheet" href="/yui/reset/reset-min.css" type="text/css" /> | ||
| 7 | <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" /> | 8 | <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" /> |
| 8 | </head> | 9 | </head> |
| 9 | <body> | 10 | <body> |
