|
| 1 | +body { |
| 2 | + /*font-family: 'gentium';*/ |
| 3 | + font-family: Arial, Helvetica, sans-serif; |
| 4 | + /*font-family: "PT Serif", gentium;*/ |
| 5 | + font-size: 12pt; |
| 6 | + line-height: 1.5em; |
| 7 | + color: #000; |
| 8 | +} |
| 9 | + |
| 10 | +del { |
| 11 | + color: #f00; |
| 12 | +} |
| 13 | +del span { |
| 14 | + color: #000; |
| 15 | +} |
| 16 | + |
| 17 | +div#header { |
| 18 | + margin: auto; |
| 19 | + text-align: left; |
| 20 | + padding-top: 10px; |
| 21 | + padding-bottom: 10px; |
| 22 | + background-color:#000; |
| 23 | + color: #fff; |
| 24 | + font-size:28px; |
| 25 | +} |
| 26 | +hr { |
| 27 | + display: block; |
| 28 | + margin-top: 0.5em; |
| 29 | + margin-bottom: 0.5em; |
| 30 | + margin-left: auto; |
| 31 | + margin-right: auto; |
| 32 | + border-style: inset; |
| 33 | + border-width: 1px; |
| 34 | + border-top:1px dotted #808080; |
| 35 | +} |
| 36 | + |
| 37 | +hr.paper{ |
| 38 | + height:1px; |
| 39 | + visibility:hidden; |
| 40 | + margin-bottom:-1px; |
| 41 | +} |
| 42 | + |
| 43 | +p.small{ |
| 44 | + line-height:0.5; |
| 45 | +} |
| 46 | + |
| 47 | +#NOTE { |
| 48 | + margin: -12px auto 0px auto; |
| 49 | +} |
| 50 | + |
| 51 | +div#YR { |
| 52 | + text-align: center; |
| 53 | +} |
| 54 | + |
| 55 | +#NOTE:target { |
| 56 | + background-color:#ffa; |
| 57 | + -webkit-transition: all is linear; |
| 58 | +} |
| 59 | + |
| 60 | +/* |
| 61 | + The class Selector |
| 62 | + Selects elements with a specific class attribute. |
| 63 | + |
| 64 | + CSS: |
| 65 | + .center { |
| 66 | + text-align: center; |
| 67 | + color: red; |
| 68 | + } |
| 69 | + |
| 70 | + HTML: |
| 71 | + <h1 class="center"> xxx </h1> |
| 72 | + <p class="center"> xxx </p> |
| 73 | + |
| 74 | + Specify that only specific HTML elements should be affected by a class: |
| 75 | + p.center { |
| 76 | + text-align: center |
| 77 | + color: red; |
| 78 | + } |
| 79 | + */ |
| 80 | +.container { |
| 81 | + margin: auto; |
| 82 | + width: 800px; |
| 83 | + /*border:3px solid #8AC007;*/ |
| 84 | + padding: 10px; |
| 85 | +} |
| 86 | + |
| 87 | +table#BIO { |
| 88 | + width: 100%; |
| 89 | + text-align: left; |
| 90 | + padding-top: 10px; |
| 91 | + padding-bottom: 10px; |
| 92 | + border-top: 1px solid #444; |
| 93 | + border-bottom: 1px solid #444; |
| 94 | + border-left: 1px solid #444; |
| 95 | + border-right: 1px solid #444; |
| 96 | + border-bottom-left-radius: 5px; |
| 97 | + border-bottom-right-radius: 5px; |
| 98 | +} |
| 99 | + |
| 100 | +.fleft { |
| 101 | + float: left; |
| 102 | + width: 120%; |
| 103 | + padding: 2px; |
| 104 | +} |
| 105 | + |
| 106 | +.fmiddle { |
| 107 | + float: center; |
| 108 | + width: 30%; |
| 109 | + padding: 2px; |
| 110 | +} |
| 111 | + |
| 112 | +.fright { |
| 113 | + float: right; |
| 114 | + width: 90%; |
| 115 | + padding: 2px; |
| 116 | +} |
| 117 | + |
| 118 | +td { vertical-align: top; } |
| 119 | +td.middle {vertical-align: middle; } |
| 120 | + |
| 121 | +nav |
| 122 | +{ |
| 123 | + text-align:center; |
| 124 | + background-color:#000; |
| 125 | + |
| 126 | +} |
| 127 | + |
| 128 | +#banner nav { |
| 129 | + background: #000305; |
| 130 | + font-size: 1.143em; |
| 131 | + height: 50px; |
| 132 | + line-height: 30px; |
| 133 | + margin: 0 auto 2em auto; |
| 134 | + padding: 0; |
| 135 | + |
| 136 | + border-radius: 5px; |
| 137 | +} |
| 138 | + |
| 139 | +#banner nav ul {list-style: none; margin: 0 auto; width: 100%;} |
| 140 | +#banner nav li {float: left; display: inline; margin: 0;} |
| 141 | + |
| 142 | +#banner nav a:link { |
| 143 | + color: #09c; |
| 144 | + display: inline-block; |
| 145 | + height: 30px; |
| 146 | + padding: 5px 1.5em; |
| 147 | + text-decoration: none; |
| 148 | +} |
| 149 | + |
| 150 | +ul { |
| 151 | + list-style-type: circle; |
| 152 | + padding-left:25px; |
| 153 | + padding-right:5px; |
| 154 | + padding-top:-10px; |
| 155 | + margin: 0px; |
| 156 | +} |
| 157 | + |
| 158 | +ul li |
| 159 | +{ |
| 160 | + /*display:inline;*/ |
| 161 | + padding-left:5px; |
| 162 | + padding-right:5px; |
| 163 | + padding-bottom: 0; |
| 164 | + margin: 0; |
| 165 | + text-align:left; |
| 166 | + font-size:16px; |
| 167 | + font-weight:normal; |
| 168 | +} |
| 169 | + |
| 170 | +/* The id Selector |
| 171 | + Uses the id attribute of an HTML element to select a specific element. |
| 172 | + An id should be unique within a page, so the id selector is used if u want to select a single, unique element. |
| 173 | + To select an element with a specific id: #id_name |
| 174 | + |
| 175 | + CSS: |
| 176 | + #para1 { |
| 177 | + text-align: center; |
| 178 | + color: red; |
| 179 | + } |
| 180 | + HTML: |
| 181 | + <p id="para1">Hello World!</p> |
| 182 | + |
| 183 | + h1#para1 { |
| 184 | + } |
| 185 | + h1#para2 { |
| 186 | + } |
| 187 | + |
| 188 | + <h1 class='xx' id='para1'> aaa </h1> |
| 189 | + <h1 class='xx' id='para2'> bbb </h2> |
| 190 | + */ |
| 191 | + |
| 192 | +/* |
| 193 | + Grouping Selectors |
| 194 | + |
| 195 | + CSS: |
| 196 | + h1, h2, p { |
| 197 | + text-align: center; |
| 198 | + color: red; |
| 199 | + } |
| 200 | + |
| 201 | + HTML: |
| 202 | + <h1> xxx </h1> |
| 203 | + <h2> yyy <h2> |
| 204 | + <p> zzz <p> |
| 205 | + */ |
| 206 | + |
| 207 | +#section_title { |
| 208 | + text-align: left; |
| 209 | + font-size: 24px; |
| 210 | +} |
| 211 | +span.highlight { |
| 212 | + background-color: none; |
| 213 | +} |
| 214 | + |
| 215 | +header |
| 216 | +{ |
| 217 | + padding:0px; |
| 218 | + text-align:center; |
| 219 | +} |
| 220 | + |
| 221 | +footer |
| 222 | +{ |
| 223 | + padding:5px; |
| 224 | + text-align:center; |
| 225 | + font-weight:bold; |
| 226 | +} |
| 227 | + |
| 228 | +.link-other { |
| 229 | + text-decoration: none; |
| 230 | + color: #09c; |
| 231 | +} |
| 232 | + |
| 233 | +.link-other:hover { |
| 234 | + color: #036; |
| 235 | +} |
| 236 | + |
| 237 | +.link-body{ text-decoration: none; border-bottom:1px dotted; border-color:#555; color: #555;} |
| 238 | +.link-body:hover{ |
| 239 | + border-color:red; |
| 240 | +} |
| 241 | +.link-body:visited{ |
| 242 | + /*color:#000000;*/ |
| 243 | +} |
| 244 | + |
| 245 | +span.me { |
| 246 | + font-weight: bold; |
| 247 | + color: #808080; |
| 248 | +} |
| 249 | + |
| 250 | +span.hl { |
| 251 | + font-weight: bold; |
| 252 | + color: #FF0000; |
| 253 | +} |
| 254 | + |
| 255 | +img.profile { |
| 256 | + vertical-align: middle; |
| 257 | + width: 70%; |
| 258 | +} |
| 259 | + |
| 260 | +img.tiny_img { |
| 261 | + height: 15px; |
| 262 | +} |
| 263 | + |
| 264 | +img.name { |
| 265 | + vertical-align: middle; |
| 266 | + width: 80px; |
| 267 | +} |
| 268 | + |
| 269 | +sup { |
| 270 | + vertical-align: super; |
| 271 | + font-size: smaller; |
| 272 | +} |
0 commit comments