|
1 |
| -body { |
2 |
| - background: #e0e0c0; |
3 |
| - font-family: Verdana, Arial, sans-serif; |
4 |
| - font-size: 13px; |
5 |
| -} |
| 1 | +/*****************************************************************************/ |
| 2 | +/* |
| 3 | +/* Common |
| 4 | +/* |
| 5 | +/*****************************************************************************/ |
6 | 6 |
|
7 |
| -#header { |
8 |
| - width: 100%; |
9 |
| - background: #e0c0a0; |
10 |
| - border-bottom: 3px solid #a08060; |
11 |
| - text-align: center; |
12 |
| -} |
| 7 | +/* Global Reset */ |
13 | 8 |
|
14 |
| -h1 { |
15 |
| - font-family: "Consolas", "Monaco", "Courier New", "Courier", monospace; |
16 |
| - font-size: 30px; |
17 |
| - padding: 0; |
| 9 | +* { |
18 | 10 | margin: 0;
|
| 11 | + padding: 0; |
19 | 12 | }
|
20 | 13 |
|
21 |
| -.footer { |
22 |
| - background: #808060; |
23 |
| - text-align: center; |
24 |
| - color: #000; |
25 |
| - position: absolute; |
26 |
| - width: 100%; |
| 14 | +html, body { |
| 15 | + height: 100%; |
27 | 16 | }
|
28 | 17 |
|
29 |
| -.grid_4 { |
| 18 | +body { |
| 19 | + background-color: white; |
| 20 | + font: 13.34px helvetica, arial, clean, sans-serif; |
| 21 | + *font-size: small; |
30 | 22 | text-align: center;
|
31 |
| -height: 100%; |
32 | 23 | }
|
33 | 24 |
|
34 |
| -.articles { |
35 |
| - background: #c0c0a0; |
36 |
| - border: 2px solid #404040; |
| 25 | +h1, h2, h3, h4, h5, h6 { |
| 26 | + font-size: 100%; |
37 | 27 | }
|
38 | 28 |
|
39 |
| -.articles a { |
40 |
| - display: block; |
41 |
| - font-size: 14px; |
42 |
| - padding: 10px; |
43 |
| -} |
44 |
| -.articles a:hover { |
45 |
| -background: #a0a080; |
| 29 | +h1 { |
| 30 | + margin-bottom: 1em; |
46 | 31 | }
|
47 | 32 |
|
48 |
| -h2 { |
49 |
| - font-family: Consolas, Monaco, "Courier New", Courier, monospace; |
50 |
| - font-size: 28px; |
51 |
| -padding: 0; |
52 |
| - margin-bottom: 5px; |
| 33 | +p { |
| 34 | + margin: 1em 0; |
53 | 35 | }
|
54 | 36 |
|
55 |
| -.container_12 { |
56 |
| - margin-top: 10px; |
| 37 | +a { |
| 38 | + color: #00a; |
57 | 39 | }
|
58 | 40 |
|
59 |
| -#green { |
60 |
| -color: #408040; |
| 41 | +a:hover { |
| 42 | + color: black; |
61 | 43 | }
|
62 | 44 |
|
63 |
| -#yellow { |
64 |
| -color: #BFB130; |
| 45 | +a:visited { |
| 46 | + color: #a0a; |
65 | 47 | }
|
66 | 48 |
|
67 |
| -#red { |
68 |
| -color: #BF3030; |
| 49 | +table { |
| 50 | + font-size: inherit; |
| 51 | + font: 100%; |
69 | 52 | }
|
70 | 53 |
|
71 |
| -a { |
72 |
| - text-decoration: none; |
| 54 | +/*****************************************************************************/ |
| 55 | +/* |
| 56 | +/* Home |
| 57 | +/* |
| 58 | +/*****************************************************************************/ |
| 59 | + |
| 60 | +ul.posts { |
| 61 | + list-style-type: none; |
| 62 | + margin-bottom: 2em; |
73 | 63 | }
|
74 |
| -a:visited { |
75 |
| - color: #000; |
| 64 | + |
| 65 | + ul.posts li { |
| 66 | + line-height: 1.75em; |
76 | 67 | }
|
77 | 68 |
|
78 |
| -.footer a { |
79 |
| - color: #e0e0e0; |
| 69 | + ul.posts span { |
| 70 | + color: #aaa; |
| 71 | + font-family: Monaco, "Courier New", monospace; |
| 72 | + font-size: 80%; |
| 73 | + } |
| 74 | + |
| 75 | +/*****************************************************************************/ |
| 76 | +/* |
| 77 | +/* Site |
| 78 | +/* |
| 79 | +/*****************************************************************************/ |
| 80 | + |
| 81 | +.site { |
| 82 | + font-size: 110%; |
| 83 | + text-align: justify; |
| 84 | + width: 40em; |
| 85 | + margin: 3em auto 2em auto; |
| 86 | + line-height: 1.5em; |
80 | 87 | }
|
81 |
| -.footer a:hover { |
82 |
| - color: #000; |
| 88 | + |
| 89 | +.title { |
| 90 | + color: #a00; |
| 91 | + font-weight: bold; |
| 92 | + margin-bottom: 2em; |
83 | 93 | }
|
84 | 94 |
|
85 |
| -/* |
| 95 | + .site .title a { |
| 96 | + color: #a00; |
| 97 | + text-decoration: none; |
| 98 | + } |
| 99 | + |
| 100 | + .site .title a:hover { |
| 101 | + color: black; |
| 102 | + } |
86 | 103 |
|
87 |
| -Sticky Footer by Ryan Fait |
88 |
| -http://ryanfait.com/ |
| 104 | + .site .title a.extra { |
| 105 | + color: #aaa; |
| 106 | + text-decoration: none; |
| 107 | + margin-left: 1em; |
| 108 | + } |
| 109 | + |
| 110 | + .site .title a.extra:hover { |
| 111 | + color: black; |
| 112 | + } |
89 | 113 |
|
90 |
| -*/ |
| 114 | + .site .meta { |
| 115 | + color: #aaa; |
| 116 | + } |
91 | 117 |
|
92 |
| -* { |
93 |
| - margin: 0; |
94 |
| -} |
95 |
| -html, body { |
96 |
| - height: 100%; |
97 |
| -} |
98 |
| -.wrapper { |
99 |
| - min-height: 100%; |
100 |
| - height: auto !important; |
101 |
| - height: 100%; |
102 |
| - margin: 0 auto -22px; /* the bottom margin is the negative value of the footer's height */ |
| 118 | + .site .footer { |
| 119 | + font-size: 80%; |
| 120 | + color: #666; |
| 121 | + border-top: 4px solid #eee; |
| 122 | + margin-top: 2em; |
| 123 | + overflow: hidden; |
| 124 | + } |
| 125 | + |
| 126 | + .site .footer .contact { |
| 127 | + float: left; |
| 128 | + margin-right: 3em; |
| 129 | + } |
| 130 | + |
| 131 | + .site .footer .contact a { |
| 132 | + color: #8085C1; |
| 133 | + } |
| 134 | + |
| 135 | + .site .footer .rss { |
| 136 | + margin-top: 1.1em; |
| 137 | + margin-right: -.2em; |
| 138 | + float: right; |
| 139 | + } |
| 140 | + |
| 141 | + .site .footer .rss img { |
| 142 | + border: 0; |
| 143 | + } |
| 144 | + |
| 145 | +/*****************************************************************************/ |
| 146 | +/* |
| 147 | +/* Posts |
| 148 | +/* |
| 149 | +/*****************************************************************************/ |
| 150 | + |
| 151 | +#post { |
| 152 | + |
103 | 153 | }
|
104 |
| -.footer, .push { |
105 |
| - height: 22px; /* .push must be the same height as .footer */ |
| 154 | + |
| 155 | + /* standard */ |
| 156 | + |
| 157 | + #post pre { |
| 158 | + border: 1px solid #ddd; |
| 159 | + background-color: #eef; |
| 160 | + padding: 0 .4em; |
| 161 | + } |
| 162 | + |
| 163 | + #post code { |
| 164 | + border: 1px solid #ddd; |
| 165 | + background-color: #eef; |
| 166 | + font-size: 95%; |
| 167 | + padding: 0 .2em; |
| 168 | + } |
| 169 | + |
| 170 | + #post pre code { |
| 171 | + border: none; |
| 172 | + } |
| 173 | + |
| 174 | + /* terminal */ |
| 175 | + |
| 176 | + #post pre.terminal { |
| 177 | + border: 1px solid black; |
| 178 | + background-color: #333; |
| 179 | + color: white; |
| 180 | + } |
| 181 | + |
| 182 | + #post pre.terminal code { |
| 183 | + background-color: #333; |
| 184 | + } |
| 185 | + |
| 186 | +#related { |
| 187 | + margin-top: 2em; |
106 | 188 | }
|
107 | 189 |
|
| 190 | + #related h2 { |
| 191 | + margin-bottom: 1em; |
| 192 | + } |
0 commit comments