1 /* lessish stylesheet for ikiwiki
2 responsive styles based on the Less CSS Framework
3 version 0.1 - 29 June 2012
4 https://github.com/spiffin/ikiwiki_lessish */
7 http://lessframework.com
9 License: http://opensource.org/licenses/mit-license.php */
14 @import url("/fonts/liberation/stylesheet.css");
44 font: 1em/100% "Liberation Sans", sans-serif;
52 /* Selection colours (easy to forget) */
54 ::selection {background: rgb(255,255,158);}
55 ::-moz-selection {background: rgb(255,255,158);}
56 img::selection {background: transparent;}
57 img::-moz-selection {background: transparent;}
58 body {-webkit-tap-highlight-color: rgb(255,255,158);}
60 /* Default Layout: 992px.
63 Leftover space for scrollbars @1024px: 32px.
64 -------------------------------------------------------------------------------
65 cols 1 2 3 4 5 6 7 8 9 10
66 px 68 160 252 344 436 528 620 712 804 896 */
70 padding: 72px 48px 84px;
73 -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
76 /* Tablet Layout: 768px.
79 Inherits styles from: Default Layout.
80 -----------------------------------------------------------------
82 px 68 160 252 344 436 528 620 712 */
84 @media only screen and (min-width: 768px) and (max-width: 991px) {
88 padding: 48px 28px 60px;
92 /* Mobile Layout: 320px.
95 Inherits styles from: Default Layout.
96 ---------------------------------------------
100 @media only screen and (max-width: 767px) {
104 padding: 48px 34px 60px;
109 /* Wide Mobile Layout: 480px.
112 Inherits styles from: Default Layout, Mobile Layout.
113 ------------------------------------------------------------
115 px 68 160 252 344 436 */
117 @media only screen and (min-width: 480px) and (max-width: 767px) {
121 padding: 36px 22px 48px;
134 h1, h2, h3, h4 { font-weight: normal; margin: 10px 0 -10px; }
136 p + p { margin-top: 8px; }
138 a:link { text-decoration: underline; color: #59c903; }
139 a:visited { text-decoration: underline; color: #5d9a20; }
140 a:hover { background: #efefef; text-decoration: none; color: #333; }
141 a:active { background: #efefef; text-decoration: underline; color: #00ff00; }
143 hr { border: 0; height: 1px; color: #333; margin: 10px 0; background-color: #666; }
147 padding: 16px .8em 10px 0px;
166 font: 14px "Liberation Mono",Monaco, Courier, monospace;
171 font: 12.5px "Liberation Mono",Monaco, monospace;
176 .pageheader #otherlanguages,
177 .pageheader .actions ul {
178 border-bottom: 1px solid #666;
183 border-top: 1px solid #666;
187 color: #333 !important;
191 border: 1px solid #aaa;