summaryrefslogtreecommitdiff
path: root/blueview/style.css
blob: bd519ca92cab0ced28852e88f65453f8c05e58cf (plain)
  1. /* ikiwiki style sheet */
  2. /* Note that instead of modifying this style sheet, you can instead edit
  3. * local.css and use it to override or change settings in this one.
  4. */
  5. /* html5 compat */
  6. article,aside,details,figcaption,figure,
  7. footer,header,hgroup,menu,nav,section {
  8. display: block;
  9. }
  10. .header {
  11. margin: 0;
  12. font-size: 140%;
  13. font-weight: bold;
  14. line-height: 1em;
  15. display: block;
  16. }
  17. .inlineheader .author {
  18. margin: 0;
  19. font-size: 112%;
  20. font-weight: bold;
  21. display: block;
  22. }
  23. .actions ul {
  24. margin: 0;
  25. padding: 6px .4em;
  26. height: 1em;
  27. list-style-type: none;
  28. }
  29. .actions li {
  30. display: inline;
  31. padding: .2em;
  32. }
  33. .pageheader .actions ul {
  34. border-bottom: 1px solid #000;
  35. }
  36. .inlinepage .actions ul {
  37. border-bottom: 0;
  38. }
  39. #otherlanguages ul {
  40. margin: 0;
  41. padding: 6px;
  42. list-style-type: none;
  43. }
  44. #otherlanguages li {
  45. display: inline;
  46. padding: .2em .4em;
  47. }
  48. .pageheader #otherlanguages {
  49. border-bottom: 1px solid #000;
  50. }
  51. .inlinecontent,
  52. .inlineenclosure {
  53. margin-top: .4em;
  54. }
  55. .pagefooter,
  56. .inlinefooter,
  57. .comments {
  58. clear: both;
  59. }
  60. #pageinfo {
  61. margin: 1em 0;
  62. border-top: 1px solid #000;
  63. }
  64. .tags {
  65. margin-top: 1em;
  66. }
  67. .inlinepage .tags {
  68. display: inline;
  69. }
  70. .mapparent {
  71. text-decoration: none;
  72. }
  73. .img caption {
  74. font-size: 80%;
  75. caption-side: bottom;
  76. text-align: center;
  77. }
  78. img.img {
  79. margin: 0.5ex;
  80. }
  81. .align-left {
  82. float:left;
  83. }
  84. .align-right {
  85. float:right;
  86. }
  87. #backlinks {
  88. margin-top: 1em;
  89. }
  90. #searchform {
  91. display: inline;
  92. float: right;
  93. }
  94. #editcontent {
  95. width: 98%;
  96. }
  97. .editcontentdiv {
  98. width: auto;
  99. overflow: auto;
  100. }
  101. img {
  102. border-style: none;
  103. }
  104. pre {
  105. overflow: auto;
  106. }
  107. div.recentchanges {
  108. border-style: solid;
  109. border-width: 1px;
  110. overflow: auto;
  111. width: auto;
  112. clear: none;
  113. background: #eee;
  114. color: black !important;
  115. }
  116. .recentchanges .metadata {
  117. padding: 0px 0.5em;
  118. }
  119. .recentchanges .changelog {
  120. font-style: italic;
  121. clear: both;
  122. display: block;
  123. padding: 1px 2px;
  124. background: white !important;
  125. color: black !important;
  126. }
  127. .recentchanges .desc {
  128. display: none;
  129. }
  130. .recentchanges .diff {
  131. display: none;
  132. }
  133. .recentchanges .committer {
  134. float: left;
  135. margin: 0;
  136. width: 40%;
  137. }
  138. .recentchanges .committype {
  139. float: left;
  140. margin: 0;
  141. width: 5%;
  142. font-size: small;
  143. }
  144. .recentchanges .changedate {
  145. float: left;
  146. margin: 0;
  147. width: 35%;
  148. font-size: small;
  149. }
  150. .recentchanges .pagelinks,
  151. .recentchanges .revert {
  152. float: right;
  153. margin: 0;
  154. width: 60%;
  155. }
  156. .blogform, #blogform {
  157. padding: 10px 10px;
  158. border: 1px solid #aaa;
  159. background: #eee;
  160. color: black !important;
  161. width: auto;
  162. overflow: auto;
  163. }
  164. .inlinepage {
  165. padding: 10px 10px;
  166. border: 1px solid #aaa;
  167. overflow: auto;
  168. }
  169. .pagedate,
  170. .pagelicense,
  171. .pagecopyright {
  172. font-style: italic;
  173. display: block;
  174. margin-top: 1em;
  175. }
  176. .archivepagedate {
  177. font-style: italic;
  178. }
  179. .archivepage {
  180. margin-bottom: 1em;
  181. }
  182. .error {
  183. color: #C00;
  184. }
  185. .sidebar {
  186. width: 20ex;
  187. float: right;
  188. margin-left: 4px;
  189. margin-bottom: 4px;
  190. margin-top: -1px;
  191. padding: 0ex 2ex;
  192. background: white;
  193. border: 1px solid black;
  194. color: black !important;
  195. }
  196. hr.poll {
  197. height: 10pt;
  198. color: white !important;
  199. background: #eee;
  200. border: 2px solid black;
  201. }
  202. div.poll {
  203. margin-top: 1ex;
  204. margin-bottom: 1ex;
  205. padding: 1ex 1ex;
  206. border: 1px solid #aaa;
  207. }
  208. span.color {
  209. padding: 2px;
  210. }
  211. .comment-header,
  212. .microblog-header {
  213. font-style: italic;
  214. margin-top: .3em;
  215. }
  216. .comment .author,
  217. .microblog .author {
  218. font-weight: bold;
  219. }
  220. .comment-subject {
  221. font-weight: bold;
  222. }
  223. .comment-avatar {
  224. float: right;
  225. }
  226. .comment {
  227. border: 1px solid #aaa;
  228. padding: 3px;
  229. }
  230. div.progress {
  231. margin-top: 1ex;
  232. margin-bottom: 1ex;
  233. border: 1px solid #888;
  234. width: 400px;
  235. background: #eee;
  236. color: black !important;
  237. padding: 1px;
  238. }
  239. div.progress-done {
  240. background: #ea6 !important;
  241. color: black !important;
  242. text-align: center;
  243. padding: 1px;
  244. }
  245. /* things to hide in printouts */
  246. @media print {
  247. .actions { display: none; }
  248. .tags { display: none; }
  249. .trails { display: none; }
  250. .feedbutton { display: none; }
  251. #searchform { display: none; }
  252. .blogform, #blogform { display: none; }
  253. #backlinks { display: none; }
  254. }
  255. /* infobox template */
  256. .infobox {
  257. float: right;
  258. margin-left: 2ex;
  259. margin-top: 1ex;
  260. margin-bottom: 1ex;
  261. padding: 1ex 1ex;
  262. border: 1px solid #aaa;
  263. background: white;
  264. color: black !important;
  265. }
  266. /* notebox template */
  267. .notebox {
  268. float: right;
  269. margin-left: 2ex;
  270. margin-top: 1ex;
  271. margin-bottom: 1ex;
  272. padding: 1ex 1ex;
  273. border: 1px solid #aaa;
  274. width: 25%;
  275. background: white;
  276. color: black !important;
  277. }
  278. /* popup template and backlinks hiding */
  279. .popup {
  280. border-bottom: 1px dotted #366;
  281. color: #366;
  282. }
  283. .popup .balloon,
  284. .popup .paren,
  285. .popup .expand {
  286. display: none;
  287. text-align: left;
  288. }
  289. .popup:hover .balloon,
  290. .popup:focus .balloon {
  291. position: absolute;
  292. display: inline;
  293. margin: 1em 0 0 -2em;
  294. padding: 0.625em;
  295. border: 2px solid;
  296. background-color: #dee;
  297. color: black;
  298. }
  299. /* form styling */
  300. fieldset {
  301. margin: 1ex 0;
  302. border: 1px solid black;
  303. }
  304. legend {
  305. padding: 0 1ex;
  306. }
  307. .fb_submit {
  308. float: left;
  309. margin: 2px 0;
  310. }
  311. label.block {
  312. display: block;
  313. }
  314. label.inline {
  315. display: inline;
  316. }
  317. input#openid_identifier {
  318. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  319. background-color: #fff;
  320. background-position: 0 50%;
  321. color: #000;
  322. padding-left: 18px;
  323. }
  324. input#searchbox {
  325. background: url(wikiicons/search-bg.gif) no-repeat;
  326. background-color: #fff;
  327. background-position: 100% 50%;
  328. color: #000;
  329. padding-right: 16px;
  330. }
  331. /* invalid form fields */
  332. .fb_invalid {
  333. color: red;
  334. background: white !important;
  335. }
  336. /* required form fields */
  337. .fb_required {
  338. font-weight: bold;
  339. }
  340. /* highlight plugin */
  341. pre.hl { color:#000000; background-color:#ffffff; }
  342. .hl.num { color:#2928ff; }
  343. .hl.esc { color:#ff00ff; }
  344. .hl.str { color:#ff0000; }
  345. .hl.dstr { color:#818100; }
  346. .hl.slc { color:#838183; font-style:italic; }
  347. .hl.com { color:#838183; font-style:italic; }
  348. .hl.dir { color:#008200; }
  349. .hl.sym { color:#000000; }
  350. .hl.line { color:#555555; }
  351. .hl.mark { background-color:#ffffbb; }
  352. .hl.kwa { color:#000000; font-weight:bold; }
  353. .hl.kwb { color:#830000; }
  354. .hl.kwc { color:#000000; font-weight:bold; }
  355. .hl.kwd { color:#010181; }
  356. /* calendar plugin */
  357. .month-calendar-day-this-day,
  358. .year-calendar-this-month {
  359. background-color: #eee;
  360. }
  361. .month-calendar-day-head,
  362. .month-calendar-day-nolink,
  363. .month-calendar-day-link,
  364. .month-calendar-day-this-day,
  365. .month-calendar-day-future {
  366. text-align: right;
  367. }
  368. .month-calendar-arrow A:link,
  369. .year-calendar-arrow A:link,
  370. .month-calendar-arrow A:visited,
  371. .year-calendar-arrow A:visited {
  372. text-decoration: none;
  373. font-weight: normal;
  374. font-size: 150%;
  375. }
  376. /* outlines */
  377. li.L1 { list-style: upper-roman; }
  378. li.L2 { list-style: decimal; }
  379. li.L3 { list-style: lower-alpha; }
  380. li.L4 { list-style: disc; }
  381. li.L5 { list-style: square; }
  382. li.L6 { list-style: circle; }
  383. li.L7 { list-style: lower-roman; }
  384. li.L8 { list-style: upper-alpha; }
  385. /* tag cloud */
  386. .pagecloud {
  387. float: right;
  388. width: 30%;
  389. text-align: center;
  390. padding: 10px 10px;
  391. border: 1px solid #aaa;
  392. background: #eee;
  393. color: black !important;
  394. }
  395. .smallestPC { font-size: 70%; }
  396. .smallPC { font-size: 85%; }
  397. .normalPC { font-size: 100%; }
  398. .bigPC { font-size: 115%; }
  399. .biggestPC { font-size: 130%; }
  400. /* orange feed button */
  401. .feedbutton {
  402. background: #ff6600;
  403. color: white !important;
  404. border-left: 1px solid #cc9966;
  405. border-top: 1px solid #ccaa99;
  406. border-right: 1px solid #993300;
  407. border-bottom: 1px solid #331100;
  408. padding: 0px 0.5em 0px 0.5em;
  409. font-family: sans-serif;
  410. font-weight: bold;
  411. font-size: small;
  412. text-decoration: none;
  413. margin-top: 1em;
  414. }
  415. .feedbutton:hover {
  416. color: white !important;
  417. background: #ff9900;
  418. }
  419. .FlattrButton {
  420. display: none;
  421. }
  422. /* openid selector */
  423. #openid_choice {
  424. display: none;
  425. }
  426. #openid_input_area {
  427. clear: both;
  428. padding: 10px;
  429. }
  430. #openid_btns, #openid_btns br {
  431. clear: both;
  432. }
  433. #openid_highlight {
  434. background-color: black;
  435. float: left;
  436. }
  437. .openid_large_btn {
  438. padding: 1em 1.5em;
  439. border: 1px solid #DDD;
  440. margin: 3px;
  441. float: left;
  442. }
  443. .openid_small_btn {
  444. padding: 4px 4px;
  445. border: 1px solid #DDD;
  446. margin: 3px;
  447. float: left;
  448. }
  449. a.openid_large_btn:focus {
  450. outline: none;
  451. }
  452. a.openid_large_btn:focus {
  453. outline-style: none;
  454. }
  455. .openid_selected {
  456. border: 4px solid #DDD;
  457. }
  458. .fileupload-content .ui-progressbar {
  459. width: 200px;
  460. height: 20px;
  461. }
  462. .fileupload-content .ui-progressbar-value {
  463. background: url(ikiwiki/images/pbar-ani.gif);
  464. }
  465. .trails {
  466. margin-top: 1em;
  467. margin-bottom: 1em;
  468. }
  469. .trail {
  470. display: block;
  471. clear: both;
  472. position: relative;
  473. }
  474. .trailprev {
  475. display: block;
  476. text-align: left;
  477. position: absolute;
  478. top: 0%;
  479. left: 3%;
  480. width: 30%;
  481. }
  482. .trailup {
  483. display: block;
  484. text-align: center;
  485. margin-left: 35%;
  486. margin-right: 35%;
  487. }
  488. .trailnext {
  489. display: block;
  490. text-align: right;
  491. position: absolute;
  492. top: 0%;
  493. width: 30%;
  494. right: 3%;
  495. }
  496. .trailsep {
  497. display: none;
  498. }
  499. /* mobile/small-screen-friendly layout */
  500. @media (max-width: 600px) {
  501. .sidebar {
  502. width: auto;
  503. float: none;
  504. margin-top: 0;
  505. border: none;
  506. }
  507. /* if the mobile browser is new enough, use flex layout to shuffle
  508. * the sidebar to the end */
  509. .page {
  510. display: -webkit-box;
  511. display: -webkit-flexbox;
  512. display: -webkit-flex;
  513. display: -moz-box;
  514. display: -ms-flexbox;
  515. display: flex;
  516. -webkit-box-orient: vertical;
  517. -webkit-flex-direction: tb;
  518. -webkit-flex-direction: column;
  519. -webkit-flex-flow: column;
  520. -ms-flex-direction: column;
  521. flex-direction: column;
  522. }
  523. #pageheader {
  524. -webkit-box-ordinal-group: -1;
  525. -webkit-order: -1;
  526. -ms-box-ordinal-group: -1;
  527. -ms-flex-order: -1;
  528. order: -1;
  529. }
  530. .sidebar, #footer {
  531. -webkit-box-ordinal-group: 1;
  532. -webkit-order: 1;
  533. -ms-box-ordinal-group: 1;
  534. -ms-flex-order: 1;
  535. order: 1;
  536. }
  537. .blogform, #blogform {
  538. padding: 4px 4px;
  539. }
  540. }
  541. /* bzed theme for ikiwiki
  542. *
  543. * Copyright (C) 2010 Bernd Zeimetz
  544. * Licensed under same license as ikiwiki: GPL v2 or later
  545. *
  546. * Parts of this file are based on the awesome YUI,
  547. * these parts will stay under the BSD license,
  548. * but you're free to apply the GPLv2 to them, of course.
  549. */
  550. /* -------------------------------------------------------------------------------------------------
  551. Based on reset-fonts-grids.css from yui.
  552. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  553. Code licensed under the BSD License:
  554. http://developer.yahoo.net/yui/license.txt
  555. version: 2.5.1
  556. */
  557. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,legend,p,blockquote,th,td{margin:0;padding:0;}
  558. table{border-collapse:collapse;border-spacing:0;}
  559. img{border:0;}
  560. address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
  561. li{list-style:none;}
  562. caption,th{text-align:left;}
  563. h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
  564. q:before,q:after{content:'';}
  565. abbr,acronym {border:0;font-variant:normal;}
  566. sup {vertical-align:text-top;}
  567. sub {vertical-align:text-bottom;}
  568. input,textarea,select{font-family:inherit;font-size: 13px/1.23;font-weight:normal;}
  569. input,textarea,select{*font-size:100%;}
  570. legend{color:#000;}
  571. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  572. body {font:13px/1.231 "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;*font-size:small;*font:x-small;}
  573. table {font-size:inherit;font:100%;}
  574. pre,code,kbd,samp,tt{font-family:monospace;}
  575. body{text-align:left;}
  576. .inlinefooter{clear:both;}
  577. /* #doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;} */
  578. .page {margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}
  579. /* #doc3{margin:auto 10px;width:auto;} */
  580. .page {margin:auto 10px;width:auto;}
  581. #pagebody, .sidebar{position:relative;}
  582. #pagebody, .sidebar{_position:static;}
  583. #pagebody {position:static;}
  584. .sidebar {float:right;width:16.5em;*width:16em;}
  585. #pagebody {margin-right:19em;*margin-right:18.5em;}
  586. /* #content {float:none;width:auto;} */
  587. #pagebody:after, .sidebar:after, .page:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
  588. .page f{zoom:1;}
  589. /* ------------------------------------------------------------------------------------------------
  590. * Taken from base.css, part of YUI's CSS Foundation
  591. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  592. * Code licensed under the BSD License:
  593. * http://developer.yahoo.net/yui/license.txt
  594. * version: 2.5.1
  595. */
  596. h1 {
  597. /*18px via YUI Fonts CSS foundation*/
  598. font-size:138.5%;
  599. }
  600. h2 {
  601. /*16px via YUI Fonts CSS foundation*/
  602. font-size:123.1%;
  603. }
  604. h3 {
  605. /*14px via YUI Fonts CSS foundation*/
  606. font-size:108%;
  607. }
  608. h1,h2,h3 {
  609. /* top & bottom margin based on font size */
  610. margin:1em 0;
  611. }
  612. h1,h2,h3,h4,h5,h6,strong {
  613. /*bringing boldness back to headers and the strong element*/
  614. font-weight:bold;
  615. }
  616. abbr,acronym {
  617. /*indicating to users that more info is available */
  618. border-bottom:1px dotted #000;
  619. cursor:help;
  620. }
  621. em {
  622. /*bringing italics back to the em element*/
  623. font-style:italic;
  624. }
  625. blockquote,ul,ol,dl {
  626. /*giving blockquotes and lists room to breath*/
  627. margin:1em;
  628. }
  629. ol,ul,dl {
  630. /*bringing lists on to the page with breathing room */
  631. margin-left:2em;
  632. }
  633. ol li {
  634. /*giving OL's LIs generated numbers*/
  635. list-style: decimal outside;
  636. }
  637. ul li {
  638. /*giving UL's LIs generated disc markers*/
  639. list-style: disc outside;
  640. }
  641. dl dd {
  642. /*giving UL's LIs generated numbers*/
  643. margin-left:1em;
  644. }
  645. th,td {
  646. /*borders and padding to make the table readable*/
  647. border:1px solid #000;
  648. padding:.5em;
  649. }
  650. th {
  651. /*distinguishing table headers from data cells*/
  652. font-weight:bold;
  653. text-align:center;
  654. }
  655. caption {
  656. /*coordinated margin to match cell's padding*/
  657. margin-bottom:.5em;
  658. /*centered so it doesn't blend in to other content*/
  659. text-align:center;
  660. }
  661. p,fieldset,table,pre {
  662. /*so things don't run into each other*/
  663. margin-bottom:1em;
  664. }
  665. #searchbox {
  666. width:21.5em;*width:21em;
  667. }
  668. /* ------------------------------------------------------------------------------------------------
  669. * All CSS below is
  670. * Copyright (C) 2010 Bernd Zeimetz
  671. * Licensed under same license as ikiwiki: GPL v2 or later */
  672. .page, .pageheader, .sidebar, #content, #enclosure, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  673. border: none;
  674. }
  675. html, body {
  676. color:#000;
  677. /* background-image: url('body_background.png');
  678. background-repeat: repeat; */
  679. background-color: #8da1b8;
  680. }
  681. body {
  682. padding-left: 5%;
  683. padding-right: 5%;
  684. padding-top: 1em;
  685. padding-bottom: 1em;
  686. }
  687. .page {
  688. background: #fff;
  689. border: outset #ccc;
  690. padding-left: 1em;
  691. padding-right: 1em;
  692. padding-top: 1em;
  693. }
  694. .pageheader {
  695. background-image: url('header_background.png');
  696. background-repeat: repeat-x;
  697. height: 100px;
  698. padding-left: 1em;
  699. padding-right: 1em;
  700. padding-bottom: 1em;
  701. padding-top: 1em;
  702. }
  703. .pageheader .header {
  704. text-align: top;
  705. clear: both;
  706. }
  707. .pageheader .header form {
  708. padding: 0em 0em 0em 0em;
  709. float: right;
  710. margin-top: 0.5em;
  711. }
  712. .pageheader .header .title, .pageheader .header .parentlinks,
  713. .inlinepage .inlineheader,
  714. h1, h2, h3, h4, h5, h6 {
  715. margin-top: 1em;
  716. font-weight: bold;
  717. }
  718. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  719. padding: 0.25em 0.25em 0.25em 0.25em;
  720. background-image: url('background_darkness.png');
  721. background-repeat: repeat;
  722. color: white;
  723. }
  724. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a, .pageheader a, .pageheader .trail a {
  725. font-weight: bold;
  726. color: white;
  727. text-decoration: none;
  728. }
  729. .pageheader .actions {
  730. text-align: right;
  731. vertical-align: bottom;
  732. clear: both;
  733. }
  734. #pagebody {
  735. padding-right: 1em;
  736. padding-bottom: 2em;
  737. border-right: ridge #eee;
  738. clear: none;
  739. }
  740. #content a, #enclosure a, #comments a, .sidebar a {
  741. color: #315485;
  742. text-decoration: none;
  743. font-weight: bold;
  744. }
  745. .sidebar h2 {
  746. border-bottom: ridge #eee;
  747. padding-right: 0;
  748. }
  749. .sidebar .menu {
  750. margin-left: 1em;
  751. }
  752. .inlinepage, .recentchanges, div.recentchanges {
  753. clear: none !important;
  754. margin-bottom: 2em;
  755. }
  756. .inlinefooter {
  757. border-top: 1px dotted #315485;
  758. }
  759. .inlinefooter .pagedate, .inlinefooter .tags {
  760. display: inline;
  761. clear: none;
  762. margin-right: 2em;
  763. }
  764. .calendar .month-calendar th, .calendar .month-calendar td {
  765. padding: 0.22em;
  766. }
  767. @media print {
  768. .sidebar, .page .pageheader .header .parentlinks {
  769. content:".";
  770. display:block;
  771. height:0;
  772. visibility:hidden;
  773. }
  774. .page {
  775. padding: 1em 1em 1em 1em;
  776. }
  777. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  778. color: #315485;
  779. }
  780. #content, #enclosure, #comments, #pagebody {
  781. margin-right: 0;
  782. *margin-right: 0;
  783. border-right: none;
  784. }
  785. }
  786. /* lose the border on mobile */
  787. @media (max-width: 600px) {
  788. body {
  789. padding: 0;
  790. }
  791. .page {
  792. border: none;
  793. margin: 0;
  794. }
  795. #pagebody {
  796. margin: auto;
  797. border: none;
  798. padding: 0.5em;
  799. }
  800. #footer {
  801. padding: 0.5em;
  802. }
  803. }
  804. /* cancel the minimum width if it would mean scrollbars */
  805. @media (max-width: 850px) {
  806. .page {
  807. width: auto;
  808. min-width: 0;
  809. padding: 0;
  810. }
  811. }