alex-2016.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. /* This file is in the public domain. */
  2. html{ text-align: center; }
  3. body, rss {
  4. font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  5. font-style: normal;
  6. font-size: 14pt;
  7. padding: 1em 3em;
  8. max-width: 72ex;
  9. display: inline-block;
  10. text-align: left;
  11. color: #000;
  12. background-color: #fff;
  13. }
  14. @media print {
  15. body {
  16. font-size: 12pt;
  17. }
  18. /* hide all the crap */
  19. div.diff, div.diff+hr, div.refer, div.near, div.definition, div.sister,
  20. div.cal, div.footer, span.specialdays, span.gotobar, a.edit, a.number span,
  21. div.rc form, form.tiny, p.comment, p#plus1, div.g-plusone, div.content a.feed {
  22. display:none;
  23. }
  24. div.content a.book,
  25. div.content a.movie {
  26. text-decoration: none;
  27. }
  28. a cite {
  29. font-style: italic;
  30. }
  31. img[alt="RSS"] { display: none }
  32. a.rss { font-size: 8pt }
  33. }
  34. /* headings: we can use larger sizes if we use a lighter color.
  35. we cannot inherit the font-family because header and footer use a narrow font. */
  36. h1, h2, h3, title {
  37. font-family: inherit;
  38. font-weight: normal;
  39. }
  40. h1, channel title {
  41. font-size: 32pt;
  42. margin: 1em 0 0.5em 0;
  43. padding: 0.4em 0;
  44. }
  45. h2 {
  46. font-size: 18pt;
  47. margin: 2em 0 0 0;
  48. padding: 0;
  49. }
  50. h3 {
  51. font-size: inherit;
  52. font-weight: bold;
  53. padding: 0;
  54. margin: 1em 0 0 0;
  55. clear: both;
  56. }
  57. /* headers in the journal are smaller */
  58. div.journal h1, item title {
  59. font-size: inherit;
  60. padding: 0;
  61. clear: both;
  62. border-bottom: 1px solid #000;
  63. }
  64. div.journal h2 {
  65. font-family: inherit;
  66. font-size: inherit;
  67. }
  68. div.journal h3 {
  69. font-family: inherit;
  70. font-size: inherit;
  71. font-weight: inherit;
  72. font-style: italic;
  73. }
  74. div.journal hr {
  75. visibility: hidden;
  76. }
  77. p.more {
  78. margin-top: 3em;
  79. }
  80. /* Links in headings appear on journal pages. */
  81. h1 a, h2 a, h3 a {
  82. color:inherit;
  83. text-decoration:none;
  84. font-weight: normal;
  85. }
  86. h1 a:visited, h2 a:visited, h3 a:visited {
  87. color: inherit;
  88. }
  89. /* for download buttons and the like */
  90. .button {
  91. display: inline-block;
  92. font-size: 120%;
  93. cursor: pointer;
  94. padding: 0.4em 0.6em;
  95. text-shadow: 0px -1px 0px #ccc;
  96. background-color: #cfa;
  97. border: 1px solid #9d8;
  98. border-radius: 5px;
  99. box-shadow: 0px 1px 3px white inset, 0px 1px 3px black;
  100. }
  101. .button .icon {
  102. color: #363;
  103. text-shadow: 0px -1px 1px white, 0px 1px 3px #666;
  104. }
  105. .button a {
  106. text-decoration: none;
  107. font-weight: normal;
  108. }
  109. /* links */
  110. a.pencil {
  111. padding-left: 1ex;
  112. text-decoration: none;
  113. color: inherit;
  114. visibility: hidden;
  115. transition: visibility 0s 1s, opacity 1s linear;
  116. opacity: 0;
  117. }
  118. *:hover > a.pencil {
  119. visibility: visible;
  120. transition: opacity .5s linear;
  121. opacity: 1;
  122. }
  123. @media print {
  124. a.pencil {
  125. display: none;
  126. }
  127. }
  128. a.number {
  129. text-decoration: none;
  130. }
  131. /* stop floating content from flowing over the footer */
  132. hr {
  133. clear: both;
  134. }
  135. /* the distance between links in the navigation bars */
  136. span.bar a {
  137. margin-right: 1ex;
  138. }
  139. a img {
  140. border: none;
  141. }
  142. /* search box in the top bar */
  143. .header form, .header p {
  144. display: inline;
  145. white-space: nowrap;
  146. }
  147. label[for="searchlang"], #searchlang, .header input[type="submit"] {
  148. /* don't use display: none! http://stackoverflow.com/questions/5665203/getting-iphone-go-button-to-submit-form */
  149. visibility: hidden; position: absolute;
  150. }
  151. /* wrap on the iphone */
  152. @media only screen and (max-device-width: 480px) {
  153. }
  154. .header input {
  155. width: 10ex;
  156. }
  157. /* other form fields */
  158. input[type="text"] {
  159. padding: 0;
  160. font-size: 80%;
  161. line-height: 125%;
  162. }
  163. /* code */
  164. textarea, pre, code, tt {
  165. font-family: "Andale Mono", Monaco, "Courier New", Courier, monospace, "Symbola";
  166. font-size: 80%;
  167. }
  168. pre {
  169. overflow:hidden;
  170. white-space: pre-wrap; /* CSS 3 */
  171. white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  172. white-space: -pre-wrap; /* Opera 4-6 */
  173. white-space: -o-pre-wrap; /* Opera 7 */
  174. word-wrap: break-word; /* Internet Explorer 5.5+ */
  175. }
  176. /* styling for divs that will be invisible when printing
  177. when printing. */
  178. div.header, div.footer, div.near, div.definition, p.comment, a.tag {
  179. font-size: 14pt;
  180. }
  181. @media print {
  182. div.header, div.footer, div.near, div.definition, p.comment, a.tag {
  183. font-size: 8pt;
  184. }
  185. }
  186. div.footer form.search {
  187. display: none;
  188. }
  189. div.rc li + li {
  190. margin-top: 1em;
  191. }
  192. div.rc li strong, table.history strong, strong.description {
  193. font-family: inherit;
  194. font-weight: inherit;
  195. }
  196. div.diff {
  197. padding-left: 5%;
  198. padding-right: 5%;
  199. font-size: 12pt;
  200. color: #000;
  201. }
  202. div.old {
  203. background-color: #ffffaf;
  204. }
  205. div.new {
  206. background-color: #cfffcf;
  207. }
  208. div.refer {
  209. padding-left: 5%;
  210. padding-right: 5%;
  211. font-size: 12pt;
  212. }
  213. div.message {
  214. background-color:#fee;
  215. color:#000;
  216. }
  217. img.xml {
  218. border:none;
  219. padding:1px;
  220. }
  221. a.small img {
  222. max-width:300px;
  223. }
  224. a.large img {
  225. max-width:600px;
  226. }
  227. div.sister {
  228. margin-right:1ex;
  229. background-color:inherit;
  230. }
  231. div.sister p {
  232. margin-top:0;
  233. }
  234. div.sister hr {
  235. display:none;
  236. }
  237. div.sister img {
  238. border:none;
  239. }
  240. div.near, div.definition {
  241. background-color:#efe;
  242. }
  243. div.sidebar {
  244. float:right;
  245. border:1px dotted #000;
  246. padding:0 1em;
  247. }
  248. div.sidebar ul {
  249. padding-left:1em;
  250. }
  251. /* replacements, features */
  252. ins {
  253. font-style: italic;
  254. text-decoration: none;
  255. }
  256. acronym, abbr {
  257. letter-spacing:0.1em;
  258. font-variant:small-caps;
  259. }
  260. /* Interlink prefix not shown */
  261. a .site, a .separator {
  262. display: none;
  263. }
  264. a cite { font:inherit; }
  265. /* browser borkage */
  266. textarea[name="text"] { width:97%; height:80%; }
  267. textarea[name="summary"] { width:97%; height:3em; }
  268. /* comments */
  269. textarea[name="aftertext"] { width:97%; height:10em; }
  270. div.commentshown {
  271. font-size: 12pt;
  272. padding: 2em 0;
  273. }
  274. div.commenthidden {
  275. display:none;
  276. }
  277. div.commentshown {
  278. display:block;
  279. }
  280. p.comment {
  281. margin-bottom: 0;
  282. }
  283. div.comment {
  284. font-size: 14pt;
  285. }
  286. div.comment h2 {
  287. margin-top: 5em;
  288. }
  289. /* comment pages with username, homepage, and email subscription */
  290. .comment form span { display: block; }
  291. .comment form span label { display: inline-block; width: 10em; }
  292. /* IE sucks */
  293. .comment input#username,
  294. .comment input#homepage,
  295. .comment input#mail { width: 20em; }
  296. /* cal */
  297. div.month { padding:0; margin:0 2ex; }
  298. body > div.month {
  299. float:right;
  300. background-color: inherit;
  301. border:solid thin;
  302. padding:0 1ex;
  303. }
  304. .year > .month {
  305. float:left;
  306. }
  307. .footer {
  308. clear:both;
  309. }
  310. .month .title a.local {
  311. background-color: inherit;
  312. }
  313. .month a.local {
  314. background-color: #ddf;
  315. }
  316. .month a.today {
  317. background-color: #fdd;
  318. }
  319. .month a {
  320. color:inherit;
  321. font-weight:inherit;
  322. text-decoration: none;
  323. background-color: #eee;
  324. }
  325. /* history tables and other tables */
  326. table.history {
  327. border: none;
  328. }
  329. td.history {
  330. border: none;
  331. }
  332. table.user {
  333. border: none;
  334. border-top: 1px solid #ccc;
  335. border-bottom: 1px solid #ccc;
  336. padding: 1em;
  337. margin: 1em 2em;
  338. }
  339. table.user tr td, table.user tr th {
  340. border: none;
  341. padding: 0.2em 0.5em;
  342. vertical-align: top;
  343. }
  344. table.arab tr th {
  345. font-weight:normal;
  346. text-align:left;
  347. vertical-align:top;
  348. }
  349. table.arab, table.arab tr th, table.arab tr td {
  350. border:none;
  351. }
  352. th.nobreak {
  353. white-space:nowrap;
  354. }
  355. table.full { width:99%; margin-left:1px; }
  356. table.j td, table.j th, table tr td.j, table tr th.j, .j { text-align:justify; }
  357. table.l td, table.l th, table tr td.l, table tr th.l, .l { text-align:left; }
  358. table.r td, table.r th, table tr td.r, table tr th.r, .r { text-align:right; }
  359. table.c td, table.c th, table tr td.c, table tr th.c, .c { text-align:center; }
  360. table.t td { vertical-align: top; }
  361. td.half { width:50%; }
  362. td.third { width:33%; }
  363. form table td { padding:5px; }
  364. /* lists */
  365. dd { padding-bottom:0.5ex; }
  366. dl.inside dt { float:left; }
  367. /* search */
  368. div.search span.result { font-size:larger; }
  369. div.search span.info { font-size:smaller; font-style:italic; }
  370. div.search p.result { display:none; }
  371. img.logo {
  372. float: right;
  373. margin: 0 0 0 1ex;
  374. padding: 0;
  375. border: 1px solid #000;
  376. opacity: 0.3;
  377. background-color:#ffe;
  378. }
  379. /* images */
  380. div.content a.feed img, div.journal a.feed img,
  381. div.content a img.smiley, div.journal a img.smiley, img.smiley,
  382. div.content a.inline img, div.journal a.inline img,
  383. div.content li a.image img, div.journal li a.image img {
  384. margin: 0; padding: 0; border: none;
  385. }
  386. div.image a img {
  387. margin-bottom: 0;
  388. }
  389. div.image span.caption {
  390. margin: 0 1em;
  391. }
  392. img {
  393. max-width: 100%;
  394. }
  395. .left { float:left; margin-right: 1em; }
  396. .right { float:right; margin-left: 1em; }
  397. .half img { height: 50%; width: 50%; }
  398. .face img { width: 200px; }
  399. div.left .left, div.right .right {
  400. float:none;
  401. }
  402. .center { text-align:center; }
  403. table.aside {
  404. float:right;
  405. width:40%;
  406. margin-left: 1em;
  407. padding: 1ex;
  408. border: 1px dotted #666;
  409. }
  410. table.aside td {
  411. text-align:left;
  412. }
  413. div.sidebar {
  414. float:right; width: 250px;
  415. text-align: right;
  416. border: none;
  417. margin: 1ex;
  418. }
  419. .bigsidebar {
  420. float:right;
  421. width: 500px;
  422. border: none;
  423. margin-left: 1ex;
  424. font-size: 80%;
  425. }
  426. dl.irc dt { width:20ex; float:left; text-align:right; clear:left; }
  427. dl.irc dt span.time { float:left; }
  428. dl.irc dd { margin-left:22ex; }
  429. /* portrait */
  430. div.footer, div.comment, hr { clear: both; }
  431. .portrait { float: left; font-size: small; margin-right: 1em; }
  432. .portrait a { color: #999; }
  433. div.left { float:left; margin:1em; padding: 0.5em; }
  434. div.left p { display:table-cell; }
  435. div.left p + p { display:table-caption; caption-side:bottom; }
  436. p.table a { float:left; width:20ex; }
  437. p.table + p { clear:both; }
  438. /* rss */
  439. channel * { display: block; }
  440. channel title {
  441. margin-top: 30pt;
  442. }
  443. copyright {
  444. font-size: 14pt;
  445. margin-top: 1em;
  446. }
  447. channel > link:before {
  448. font-size: 18pt;
  449. display: block;
  450. margin: 1em;
  451. padding: 0.5em;
  452. content: "This is an RSS feed, designed to be read in a feed reader.";
  453. color: red;
  454. border: 1px solid red;
  455. }
  456. link, license {
  457. font-size: 11pt;
  458. margin-bottom: 9pt;
  459. }
  460. username:before { content: "Last edited by "; }
  461. username:after { content: "."; }
  462. generator:before { content: "Feed generated by "; }
  463. generator:after { content: "."; }
  464. channel description {
  465. font-weight: bold;
  466. }
  467. item description {
  468. font-style: italic;
  469. font-weight: normal;
  470. margin-bottom: 1em;
  471. }
  472. docs, language,
  473. pubDate, lastBuildDate, ttl, guid, category, comments,
  474. docs, image title, image link,
  475. status, version, diff, history, importance {
  476. display: none;
  477. }