alex-2014.css 15 KB

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