summaryrefslogtreecommitdiff
path: root/blueview/style.css
blob: 785683e902b992f618e11c53bd83b10f163ff545 (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. div.header, header.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. .addcomment { display: none; }
  255. }
  256. /* infobox template */
  257. .infobox {
  258. float: right;
  259. margin-left: 2ex;
  260. margin-top: 1ex;
  261. margin-bottom: 1ex;
  262. padding: 1ex 1ex;
  263. border: 1px solid #aaa;
  264. background: white;
  265. color: black !important;
  266. }
  267. /* notebox template */
  268. .notebox {
  269. float: right;
  270. margin-left: 2ex;
  271. margin-top: 1ex;
  272. margin-bottom: 1ex;
  273. padding: 1ex 1ex;
  274. border: 1px solid #aaa;
  275. width: 25%;
  276. background: white;
  277. color: black !important;
  278. }
  279. /* popup template and backlinks hiding */
  280. .popup {
  281. border-bottom: 1px dotted #366;
  282. color: #366;
  283. }
  284. .popup .balloon,
  285. .popup .paren,
  286. .popup .expand {
  287. display: none;
  288. text-align: left;
  289. }
  290. .popup:hover .balloon,
  291. .popup:focus .balloon {
  292. position: absolute;
  293. display: inline;
  294. margin: 1em 0 0 -2em;
  295. padding: 0.625em;
  296. border: 2px solid;
  297. background-color: #dee;
  298. color: black;
  299. }
  300. /* form styling */
  301. fieldset {
  302. margin: 1ex 0;
  303. border: 1px solid black;
  304. }
  305. legend {
  306. padding: 0 1ex;
  307. }
  308. .fb_submit {
  309. float: left;
  310. margin: 2px 0;
  311. }
  312. label.block {
  313. display: block;
  314. }
  315. label.inline {
  316. display: inline;
  317. }
  318. input#openid_identifier {
  319. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  320. background-color: #fff;
  321. background-position: 0 50%;
  322. color: #000;
  323. padding-left: 18px;
  324. }
  325. input#searchbox {
  326. background: url(wikiicons/search-bg.gif) no-repeat;
  327. background-color: #fff;
  328. background-position: 100% 50%;
  329. color: #000;
  330. padding-right: 16px;
  331. }
  332. /* invalid form fields */
  333. .fb_invalid {
  334. color: red;
  335. background: white !important;
  336. }
  337. /* required form fields */
  338. .fb_required {
  339. font-weight: bold;
  340. }
  341. /* highlight plugin */
  342. pre.hl { color:#000000; background-color:#ffffff; }
  343. .hl.num { color:#2928ff; }
  344. .hl.esc { color:#ff00ff; }
  345. .hl.str { color:#ff0000; }
  346. .hl.dstr { color:#818100; }
  347. .hl.slc { color:#838183; font-style:italic; }
  348. .hl.com { color:#838183; font-style:italic; }
  349. .hl.dir { color:#008200; }
  350. .hl.sym { color:#000000; }
  351. .hl.line { color:#555555; }
  352. .hl.mark { background-color:#ffffbb; }
  353. .hl.kwa { color:#000000; font-weight:bold; }
  354. .hl.kwb { color:#830000; }
  355. .hl.kwc { color:#000000; font-weight:bold; }
  356. .hl.kwd { color:#010181; }
  357. /* calendar plugin */
  358. .month-calendar-day-this-day,
  359. .year-calendar-this-month {
  360. background-color: #eee;
  361. }
  362. .month-calendar-day-head,
  363. .month-calendar-day-nolink,
  364. .month-calendar-day-link,
  365. .month-calendar-day-this-day,
  366. .month-calendar-day-future {
  367. text-align: right;
  368. }
  369. .month-calendar-arrow A:link,
  370. .year-calendar-arrow A:link,
  371. .month-calendar-arrow A:visited,
  372. .year-calendar-arrow A:visited {
  373. text-decoration: none;
  374. font-weight: normal;
  375. font-size: 150%;
  376. }
  377. /* outlines */
  378. li.L1 { list-style: upper-roman; }
  379. li.L2 { list-style: decimal; }
  380. li.L3 { list-style: lower-alpha; }
  381. li.L4 { list-style: disc; }
  382. li.L5 { list-style: square; }
  383. li.L6 { list-style: circle; }
  384. li.L7 { list-style: lower-roman; }
  385. li.L8 { list-style: upper-alpha; }
  386. /* tag cloud */
  387. .pagecloud {
  388. float: right;
  389. width: 30%;
  390. text-align: center;
  391. padding: 10px 10px;
  392. border: 1px solid #aaa;
  393. background: #eee;
  394. color: black !important;
  395. }
  396. .smallestPC { font-size: 70%; }
  397. .smallPC { font-size: 85%; }
  398. .normalPC { font-size: 100%; }
  399. .bigPC { font-size: 115%; }
  400. .biggestPC { font-size: 130%; }
  401. /* orange feed button */
  402. .feedbutton {
  403. background: #ff6600;
  404. color: white !important;
  405. border-left: 1px solid #cc9966;
  406. border-top: 1px solid #ccaa99;
  407. border-right: 1px solid #993300;
  408. border-bottom: 1px solid #331100;
  409. padding: 0px 0.5em 0px 0.5em;
  410. font-family: sans-serif;
  411. font-weight: bold;
  412. font-size: small;
  413. text-decoration: none;
  414. margin-top: 1em;
  415. }
  416. .feedbutton:hover {
  417. color: white !important;
  418. background: #ff9900;
  419. }
  420. .FlattrButton {
  421. display: none;
  422. }
  423. /* login selector */
  424. #login_choice {
  425. display: none;
  426. }
  427. #login_input_area {
  428. clear: both;
  429. padding: 10px;
  430. }
  431. #login_btns, #login_btns br {
  432. clear: both;
  433. }
  434. #login_highlight {
  435. background-color: black;
  436. float: left;
  437. }
  438. .login_large_btn {
  439. padding: 1em 1.5em;
  440. border: 1px solid #DDD;
  441. margin: 3px;
  442. float: left;
  443. }
  444. .login_small_btn {
  445. padding: 4px 4px;
  446. border: 1px solid #DDD;
  447. margin: 3px;
  448. float: left;
  449. }
  450. a.login_large_btn:focus {
  451. outline: none;
  452. }
  453. a.login_large_btn:focus {
  454. outline-style: none;
  455. }
  456. .login_selected {
  457. border: 4px solid #DDD;
  458. }
  459. .fileupload-content .ui-progressbar {
  460. width: 200px;
  461. height: 20px;
  462. }
  463. .fileupload-content .ui-progressbar-value {
  464. background: url(ikiwiki/images/pbar-ani.gif);
  465. }
  466. .trails {
  467. margin-top: 1em;
  468. margin-bottom: 1em;
  469. }
  470. .trail {
  471. display: block;
  472. clear: both;
  473. position: relative;
  474. }
  475. .trailprev {
  476. display: block;
  477. text-align: left;
  478. position: absolute;
  479. top: 0%;
  480. left: 3%;
  481. width: 30%;
  482. }
  483. .trailup {
  484. display: block;
  485. text-align: center;
  486. margin-left: 35%;
  487. margin-right: 35%;
  488. }
  489. .trailnext {
  490. display: block;
  491. text-align: right;
  492. position: absolute;
  493. top: 0%;
  494. width: 30%;
  495. right: 3%;
  496. }
  497. .trailsep {
  498. display: none;
  499. }
  500. /* mobile/small-screen-friendly layout */
  501. @media (max-width: 600px) {
  502. .sidebar {
  503. width: auto;
  504. float: none;
  505. margin-top: 0;
  506. border: none;
  507. }
  508. /* if the mobile browser is new enough, use flex layout to shuffle
  509. * the sidebar to the end */
  510. .page {
  511. display: -webkit-box;
  512. display: -webkit-flexbox;
  513. display: -webkit-flex;
  514. display: -moz-box;
  515. display: -ms-flexbox;
  516. display: flex;
  517. -webkit-box-orient: vertical;
  518. -webkit-flex-direction: tb;
  519. -webkit-flex-direction: column;
  520. -webkit-flex-flow: column;
  521. -ms-flex-direction: column;
  522. flex-direction: column;
  523. }
  524. #pageheader {
  525. -webkit-box-ordinal-group: -1;
  526. -webkit-order: -1;
  527. -ms-box-ordinal-group: -1;
  528. -ms-flex-order: -1;
  529. order: -1;
  530. }
  531. .sidebar, #footer {
  532. -webkit-box-ordinal-group: 1;
  533. -webkit-order: 1;
  534. -ms-box-ordinal-group: 1;
  535. -ms-flex-order: 1;
  536. order: 1;
  537. }
  538. .blogform, #blogform {
  539. padding: 4px 4px;
  540. }
  541. }
  542. /* bzed theme for ikiwiki
  543. *
  544. * Copyright (C) 2010 Bernd Zeimetz
  545. * Licensed under same license as ikiwiki: GPL v2 or later
  546. *
  547. * Parts of this file are based on the awesome YUI,
  548. * these parts will stay under the BSD license,
  549. * but you're free to apply the GPLv2 to them, of course.
  550. */
  551. /* -------------------------------------------------------------------------------------------------
  552. Based on reset-fonts-grids.css from yui.
  553. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  554. Code licensed under the BSD License:
  555. http://developer.yahoo.net/yui/license.txt
  556. version: 2.5.1
  557. */
  558. 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;}
  559. table{border-collapse:collapse;border-spacing:0;}
  560. img{border:0;}
  561. address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
  562. li{list-style:none;}
  563. caption,th{text-align:left;}
  564. h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
  565. q:before,q:after{content:'';}
  566. abbr,acronym {border:0;font-variant:normal;}
  567. sup {vertical-align:text-top;}
  568. sub {vertical-align:text-bottom;}
  569. input,textarea,select{font-family:inherit;font-size: 13px/1.23;font-weight:normal;}
  570. input,textarea,select{*font-size:100%;}
  571. legend{color:#000;}
  572. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  573. body {font:13px/1.231 "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;*font-size:small;*font:x-small;}
  574. table {font-size:inherit;font:100%;}
  575. pre,code,kbd,samp,tt{font-family:monospace;}
  576. body{text-align:left;}
  577. .inlinefooter{clear:both;}
  578. /* #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;} */
  579. .page {margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}
  580. /* #doc3{margin:auto 10px;width:auto;} */
  581. .page {margin:auto 10px;width:auto;}
  582. #pagebody, .sidebar{position:relative;}
  583. #pagebody, .sidebar{_position:static;}
  584. #pagebody {position:static;}
  585. .sidebar {float:right;width:16.5em;*width:16em;}
  586. #pagebody {margin-right:19em;*margin-right:18.5em;}
  587. /* #content {float:none;width:auto;} */
  588. #pagebody:after, .sidebar:after, .page:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
  589. .page f{zoom:1;}
  590. /* ------------------------------------------------------------------------------------------------
  591. * Taken from base.css, part of YUI's CSS Foundation
  592. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  593. * Code licensed under the BSD License:
  594. * http://developer.yahoo.net/yui/license.txt
  595. * version: 2.5.1
  596. */
  597. h1 {
  598. /*18px via YUI Fonts CSS foundation*/
  599. font-size:138.5%;
  600. }
  601. h2 {
  602. /*16px via YUI Fonts CSS foundation*/
  603. font-size:123.1%;
  604. }
  605. h3 {
  606. /*14px via YUI Fonts CSS foundation*/
  607. font-size:108%;
  608. }
  609. h1,h2,h3 {
  610. /* top & bottom margin based on font size */
  611. margin:1em 0;
  612. }
  613. h1,h2,h3,h4,h5,h6,strong {
  614. /*bringing boldness back to headers and the strong element*/
  615. font-weight:bold;
  616. }
  617. abbr,acronym {
  618. /*indicating to users that more info is available */
  619. border-bottom:1px dotted #000;
  620. cursor:help;
  621. }
  622. em {
  623. /*bringing italics back to the em element*/
  624. font-style:italic;
  625. }
  626. blockquote,ul,ol,dl {
  627. /*giving blockquotes and lists room to breath*/
  628. margin:1em;
  629. }
  630. ol,ul,dl {
  631. /*bringing lists on to the page with breathing room */
  632. margin-left:2em;
  633. }
  634. ol li {
  635. /*giving OL's LIs generated numbers*/
  636. list-style: decimal outside;
  637. }
  638. ul li {
  639. /*giving UL's LIs generated disc markers*/
  640. list-style: disc outside;
  641. }
  642. dl dd {
  643. /*giving UL's LIs generated numbers*/
  644. margin-left:1em;
  645. }
  646. th,td {
  647. /*borders and padding to make the table readable*/
  648. border:1px solid #000;
  649. padding:.5em;
  650. }
  651. th {
  652. /*distinguishing table headers from data cells*/
  653. font-weight:bold;
  654. text-align:center;
  655. }
  656. caption {
  657. /*coordinated margin to match cell's padding*/
  658. margin-bottom:.5em;
  659. /*centered so it doesn't blend in to other content*/
  660. text-align:center;
  661. }
  662. p,fieldset,table,pre {
  663. /*so things don't run into each other*/
  664. margin-bottom:1em;
  665. }
  666. #searchbox {
  667. width:21.5em;*width:21em;
  668. }
  669. /* ------------------------------------------------------------------------------------------------
  670. * All CSS below is
  671. * Copyright (C) 2010 Bernd Zeimetz
  672. * Licensed under same license as ikiwiki: GPL v2 or later */
  673. .page, .pageheader, .sidebar, #content, #enclosure, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  674. border: none;
  675. }
  676. html, body {
  677. color:#000;
  678. /* background-image: url('body_background.png');
  679. background-repeat: repeat; */
  680. background-color: #8da1b8;
  681. }
  682. body {
  683. padding-left: 5%;
  684. padding-right: 5%;
  685. padding-top: 1em;
  686. padding-bottom: 1em;
  687. }
  688. .page {
  689. background: #fff;
  690. border: outset #ccc;
  691. padding-left: 1em;
  692. padding-right: 1em;
  693. padding-top: 1em;
  694. }
  695. .pageheader {
  696. background-image: url('header_background.png');
  697. background-repeat: repeat-x;
  698. height: 100px;
  699. padding-left: 1em;
  700. padding-right: 1em;
  701. padding-bottom: 1em;
  702. padding-top: 1em;
  703. }
  704. .pageheader .header {
  705. text-align: top;
  706. clear: both;
  707. }
  708. .pageheader .header form {
  709. padding: 0em 0em 0em 0em;
  710. float: right;
  711. margin-top: 0.5em;
  712. }
  713. .pageheader .header .title, .pageheader .header .parentlinks,
  714. .inlinepage .inlineheader,
  715. h1, h2, h3, h4, h5, h6 {
  716. margin-top: 1em;
  717. font-weight: bold;
  718. }
  719. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  720. padding: 0.25em 0.25em 0.25em 0.25em;
  721. background-image: url('background_darkness.png');
  722. background-repeat: repeat;
  723. color: white;
  724. }
  725. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a, .pageheader a, .pageheader .trail a {
  726. font-weight: bold;
  727. color: white;
  728. text-decoration: none;
  729. }
  730. .pageheader .actions {
  731. text-align: right;
  732. vertical-align: bottom;
  733. clear: both;
  734. }
  735. #pagebody {
  736. padding-right: 1em;
  737. padding-bottom: 2em;
  738. border-right: ridge #eee;
  739. clear: none;
  740. }
  741. #content a, #enclosure a, #comments a, .sidebar a {
  742. color: #315485;
  743. text-decoration: none;
  744. font-weight: bold;
  745. }
  746. .sidebar h2 {
  747. border-bottom: ridge #eee;
  748. padding-right: 0;
  749. }
  750. .sidebar .menu {
  751. margin-left: 1em;
  752. }
  753. .inlinepage, .recentchanges, div.recentchanges {
  754. clear: none !important;
  755. margin-bottom: 2em;
  756. }
  757. .inlinefooter {
  758. border-top: 1px dotted #315485;
  759. }
  760. .inlinefooter .pagedate, .inlinefooter .tags {
  761. display: inline;
  762. clear: none;
  763. margin-right: 2em;
  764. }
  765. .calendar .month-calendar th, .calendar .month-calendar td {
  766. padding: 0.22em;
  767. }
  768. @media print {
  769. .sidebar, .page .pageheader .header .parentlinks {
  770. content:".";
  771. display:block;
  772. height:0;
  773. visibility:hidden;
  774. }
  775. .page {
  776. padding: 1em 1em 1em 1em;
  777. }
  778. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  779. color: #315485;
  780. }
  781. #content, #enclosure, #comments, #pagebody {
  782. margin-right: 0;
  783. *margin-right: 0;
  784. border-right: none;
  785. }
  786. }
  787. /* lose the border on mobile */
  788. @media (max-width: 600px) {
  789. body {
  790. padding: 0;
  791. }
  792. .page {
  793. border: none;
  794. margin: 0;
  795. }
  796. #pagebody {
  797. margin: auto;
  798. border: none;
  799. padding: 0.5em;
  800. }
  801. #footer {
  802. padding: 0.5em;
  803. }
  804. }
  805. /* cancel the minimum width if it would mean scrollbars */
  806. @media (max-width: 850px) {
  807. .page {
  808. width: auto;
  809. min-width: 0;
  810. padding: 0;
  811. }
  812. }