annotate screen.css @ 37:86cdf18e98c0 tip

Bitbucket -> SourceHut
author Chris Cannam
date Mon, 21 Sep 2020 09:48:05 +0100
parents 3bed8cc7e99e
children
rev   line source
Chris@0 1
Chris@0 2 @import url('fonts.css');
Chris@0 3
Chris@1 4 h1#site-name {
Chris@1 5 margin:0;
Chris@1 6 line-height:1.3em;
Chris@1 7 color:#525a38;
Chris@1 8 padding:0;
Chris@1 9 /* padding-bottom:0.1em; */
Chris@1 10 margin-top:0.6em;
Chris@1 11 font-weight:normal;
Chris@1 12 margin-left:20%;
Chris@1 13 font-size:3em;
Chris@1 14 }
Chris@1 15 #logo-title{
Chris@1 16 border-bottom:2px solid #a9b680;
Chris@1 17 margin:0;
Chris@1 18 /* margin-bottom:0.8em; */
Chris@1 19 padding:0;
Chris@1 20 }
Chris@1 21 #footer{
Chris@1 22 width: 100%;
Chris@1 23 border-top:1px solid #a9b680;
Chris@1 24 margin:0;
Chris@1 25 margin-top: 4em;
Chris@1 26 padding:0;
Chris@1 27 }
Chris@1 28 #footer-content {
Chris@1 29 margin-left: 20%;
Chris@1 30 margin-right: 20%;
Chris@1 31 padding-left: 0.25em;
Chris@1 32 padding-top: 2em;
Chris@1 33 font-size: 0.7em;
Chris@1 34 }
Chris@1 35
Chris@1 36 #navbar ul{margin:0;padding:0;text-align:left;list-style-type:none;}
Chris@1 37 #navbar li{float:left;padding:0 10px 0 0;}
Chris@1 38 #primary{float:left;margin-left:20%;margin-top:0;padding-left:0.25em;padding-top:0.8em;margin-bottom:0.5em;font-weight:normal;font-size:0.85em;}
Chris@1 39 #primary li{margin:0px;border-left:1px solid #a9b680;padding-left:1em;padding-right:1em;}
Chris@1 40 #primary li.first{margin:0px;border-left:0;padding-left:0;padding-right:1em;}
Chris@1 41 #primary li.last{margin:0px;border-left:1px solid #a9b680;padding-left:1em;padding-right:0;}
Chris@1 42
Chris@1 43
Chris@0 44 body
Chris@0 45 {
Chris@1 46 margin: 0;
Chris@0 47 font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
Chris@0 48 }
Chris@0 49
Chris@1 50 big { line-height: 1.3em; }
Chris@1 51
Chris@0 52 a:link,
Chris@0 53 a:visited
Chris@0 54 {
Chris@0 55 color: #be5700;
Chris@0 56 text-decoration: none;
Chris@0 57 }
Chris@0 58
Chris@0 59 a:hover
Chris@0 60 {
Chris@0 61 text-decoration: underline;
Chris@0 62 }
Chris@0 63
Chris@0 64 #page
Chris@0 65 {
Chris@0 66 font-size: 0.94em;
Chris@0 67 line-height: 1.3em;
Chris@1 68 margin-left: 20%;
Chris@1 69 padding-left: 0.25em;
Chris@1 70 margin-right: 20%;
Chris@1 71 margin-top: 5em;
Chris@0 72 }
Chris@0 73
Chris@17 74 td p {
Chris@17 75 font-size: 0.94em;
Chris@17 76 }
Chris@17 77
Chris@0 78 body, caption, th, td, input, textarea, select, option, legend, fieldset, h1, h2, h3, h4, h5, h6
Chris@0 79 {
Chris@0 80 font-family: GilliusADFNo2, Candara, Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
Chris@13 81 background: #fdfbf5;
Chris@0 82 color: #3e442c;
Chris@0 83 }
Chris@0 84
Chris@0 85 pre, code
Chris@0 86 {
Chris@1 87 font-size: 0.85em;
Chris@0 88 font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", monospace;
Chris@0 89 }
Chris@0 90
Chris@0 91 /** headings **/
Chris@0 92
Chris@0 93 h1
Chris@0 94 {
Chris@0 95 line-height: 1.3em;
Chris@0 96 margin-top: 0;
Chris@0 97 margin-bottom: 0.5em; /* 0.5em is equavalent to 1em in the page's base font.
Chris@0 98 Remember, a margin specified in ems is relative to
Chris@0 99 the element's font-size, not to the pages' base
Chris@0 100 font size. So, for example, if we want a 1em margin
Chris@0 101 (relative to the base font), we have to divide that
Chris@0 102 length by the element's font-size:
Chris@0 103 1em / 2em = 0.5em */
Chris@0 104 font-weight: bold;
Chris@0 105 font-size: 1.8em;
Chris@0 106 }
Chris@0 107
Chris@0 108 h2
Chris@0 109 {
Chris@0 110 font-size: 1.6em;
Chris@0 111 line-height: 1.3em;
Chris@0 112 margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */
Chris@0 113 margin-bottom: 0.667em;
Chris@0 114 font-weight: normal;
Chris@0 115 }
Chris@0 116
Chris@0 117 .block-views h2
Chris@0 118 {
Chris@0 119 font-size: 1.2em;
Chris@0 120 padding-top: 2em;
Chris@0 121 padding-bottom: 0.4em;
Chris@0 122 }
Chris@0 123
Chris@0 124 .views-field-teaser p
Chris@0 125 {
Chris@0 126 /* Avoid blank line between title and teaser text for recent notes and upcoming events */
Chris@0 127 margin-top: 0em;
Chris@0 128 }
Chris@0 129
Chris@0 130 h3
Chris@0 131 {
Chris@0 132 font-size: 1.3em;
Chris@0 133 line-height: 1.3em;
Chris@0 134 margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */
Chris@0 135 margin-bottom: 0.769em;
Chris@0 136 font-weight: normal;
Chris@0 137 }
Chris@0 138
Chris@0 139 h4, h5, h6
Chris@0 140 {
Chris@0 141 font-size: 1.1em;
Chris@0 142 line-height: 1.3em;
Chris@0 143 margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.1 = 0.909 */
Chris@0 144 margin-bottom: 0.909em;
Chris@0 145 font-weight: normal;
Chris@0 146 }
Chris@0 147
Chris@0 148 /** block-level elements **/
Chris@0 149 p, ul, ol, dl, pre, table, fieldset, blockquote
Chris@0 150 {
Chris@0 151 margin: 1em 0;
Chris@0 152 }
Chris@0 153
Chris@0 154 /** lists **/
Chris@0 155 /* standardize list item indentation */
Chris@0 156 ul, ol
Chris@0 157 {
Chris@0 158 margin-left: 0;
Chris@0 159 padding-left: 2em;
Chris@0 160 }
Chris@0 161
Chris@1 162 .block ul,
Chris@0 163 .item-list ul
Chris@0 164 {
Chris@0 165 margin: 1em 0;
Chris@0 166 padding: 0 0 0 2em;
Chris@0 167 }
Chris@0 168
Chris@0 169 ul ul, ul ol,
Chris@0 170 ol ol, ol ul,
Chris@0 171 .block ul ul, .block ul ol,
Chris@0 172 .block ol ol, .block ol ul,
Chris@0 173 .item-list ul ul, .item-list ul ol,
Chris@0 174 .item-list ol ol, .item-list ol ul
Chris@0 175 {
Chris@0 176 margin: 0;
Chris@0 177 }
Chris@0 178
Chris@0 179 li
Chris@0 180 {
Chris@0 181 margin: 0;
Chris@0 182 padding: 0;
Chris@0 183 }
Chris@0 184
Chris@1 185 .item-list ul li
Chris@0 186 {
Chris@0 187 margin: 0;
Chris@0 188 padding: 0;
Chris@0 189 list-style: inherit;
Chris@0 190 }
Chris@0 191
Chris@1 192 ul.menu li,
Chris@0 193 li.expanded,
Chris@0 194 li.collapsed,
Chris@0 195 li.leaf
Chris@0 196 {
Chris@0 197 margin: 0;
Chris@0 198 padding: 0;
Chris@0 199 }
Chris@0 200
Chris@0 201 ul { list-style-type: disc; }
Chris@0 202 ul ul { list-style-type: circle; }
Chris@0 203 ul ul ul { list-style-type: square; }
Chris@0 204 ul ul ul ul { list-style-type: circle; }
Chris@0 205 ol { list-style-type: decimal; }
Chris@0 206 ol ol { list-style-type: lower-alpha; }
Chris@0 207 ol ol ol { list-style-type: decimal; }
Chris@0 208
Chris@0 209 dt
Chris@0 210 {
Chris@0 211 margin: 0;
Chris@0 212 padding: 0;
Chris@0 213 }
Chris@0 214
Chris@0 215 dd
Chris@0 216 {
Chris@0 217 margin: 0 0 0 2em;
Chris@0 218 padding: 0;
Chris@0 219 }
Chris@0 220
Chris@0 221 /** links **/
Chris@0 222 /* The order of link states are based on Eric Meyer's article:
Chris@0 223 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
Chris@0 224 */
Chris@0 225 a:link
Chris@0 226 {
Chris@0 227 }
Chris@0 228
Chris@0 229 a:visited
Chris@0 230 {
Chris@0 231 }
Chris@0 232
Chris@0 233 a:hover,
Chris@0 234 a:focus
Chris@0 235 {
Chris@0 236 }
Chris@0 237
Chris@0 238 a:active
Chris@0 239 {
Chris@0 240 }
Chris@0 241
Chris@0 242 /** tables **/
Chris@0 243 table
Chris@0 244 {
Chris@0 245 border-collapse: collapse;
Chris@0 246 /* width: 100%; */ /* Prevent cramped-looking tables */
Chris@0 247 }
Chris@0 248
Chris@0 249 th,
Chris@0 250 thead th,
Chris@0 251 tbody th
Chris@0 252 {
Chris@0 253 text-align: left;
Chris@0 254 padding-right: 0;
Chris@0 255 border-bottom: none;
Chris@0 256 }
Chris@0 257
Chris@0 258 tbody
Chris@0 259 {
Chris@0 260 border-top: none;
Chris@0 261 }
Chris@0 262
Chris@0 263 /** abbreviations **/
Chris@0 264 abbr
Chris@0 265 {
Chris@0 266 border-bottom: 1px dotted #666;
Chris@0 267 cursor: help;
Chris@0 268 white-space: nowrap;
Chris@0 269 }
Chris@0 270
Chris@0 271 /* Date-based "abbreviations" show computer-friendly timestamps which are not
Chris@0 272 human-friendly. */
Chris@0 273 abbr.created
Chris@0 274 {
Chris@0 275 border: none;
Chris@0 276 cursor: auto;
Chris@0 277 white-space: normal;
Chris@0 278 }
Chris@0 279
Chris@0 280 /** images **/
Chris@0 281 img
Chris@0 282 {
Chris@0 283 border: 0;
Chris@0 284 }
Chris@0 285
Chris@0 286 /** horizontal rules **/
Chris@0 287 hr
Chris@0 288 {
Chris@0 289 height: 1px;
Chris@0 290 border: 1px solid #666;
Chris@0 291 }
Chris@0 292
Chris@0 293 /** forms **/
Chris@0 294 form
Chris@0 295 {
Chris@0 296 margin: 0;
Chris@0 297 padding: 0;
Chris@0 298 }
Chris@0 299
Chris@0 300 fieldset
Chris@0 301 {
Chris@0 302 margin: 1em 0;
Chris@0 303 padding: 0.5em;
Chris@0 304 }