style_rmgss.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. /*
  2. * Sticky Footer Solution
  3. * by Steve Hatcher
  4. * http://stever.ca
  5. * http://www.cssstickyfooter.com
  6. * */
  7. @font-face{
  8. font-family:'EB Garamond';
  9. font-style:normal;
  10. font-weight:400;
  11. src:local('EB Garamond 12 Regular'), url('fonts/EBGaramond.otf') format('opentype');
  12. }
  13. @font-face{
  14. font-family:'EB Garamond';
  15. font-style:italic;
  16. font-weight:400;
  17. src:local('EB Garamond 12 Italic'), url('fonts/EBGaramond.otf') format('opentype');
  18. }
  19. * {margin:0;}
  20. /* must declare 0 margins on everything, also for main layout components use padding, not
  21. vertical margins (top and bottom) to add spacing, else those margins get added to total height
  22. and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */
  23. html, body {
  24. height: 100%;
  25. margin-left: 7px;
  26. margin-rigth: 5px;
  27. font-family: serif, georgia;
  28. font-size: 16px;
  29. /* C */
  30. background-color: #343A35;
  31. color: #C3C4C2;
  32. }
  33. body code{
  34. font-size: 14px;
  35. padding-left: 2px;
  36. padding-right: 2px;
  37. /* C */
  38. background-color: #242A25;
  39. }
  40. strong{
  41. /* C */
  42. color: #E2E9EA;
  43. }
  44. /* ----------------- */
  45. .row,.col,
  46. .row:after,.col:after,
  47. .row:before,.col:before{
  48. -webkit-box-sizing:border-box;
  49. -moz-box-sizing:border-box;
  50. box-sizing:border-box
  51. }
  52. /* clearfix */
  53. .row{*zoom:1}
  54. .row:before,
  55. .row:after{
  56. display:table;
  57. content:"";
  58. line-height:0}
  59. .row:after{clear:both}
  60. .row{
  61. padding:0;
  62. margin:0;
  63. }
  64. /* should probably put *zoom:1; here but for clarity it's separated*/
  65. ul.row,
  66. li.col{ list-style-type:none }
  67. .col{float:left}
  68. .col,
  69. .fill{width:100%}
  70. .tc{width: 85%;}
  71. /* grid mq */
  72. @media (min-width:30em){
  73. .col:not(.fill){width:50%}
  74. .col.third:nth-child(3),
  75. .col.fifth:nth-child(5),
  76. .col.fourth+div:nth-child(3).fill,
  77. .col.fifth+div:nth-child(3).fill{width:100%}
  78. .col+.fill{width:50%}
  79. }
  80. @media (min-width:50em){
  81. .col.half{width:50%}
  82. .col.half+.fill{width:50%}
  83. .col.third,
  84. .col.third:nth-child(3){width:33.333%}
  85. .col.third+.fill{width:66.666%}
  86. .col.fourth{width:25%}
  87. .col.fourth+.fill{width:75%}
  88. .col.fourth+div:nth-child(3).fill{width:50%;}
  89. .col.fifth,
  90. .col.fifth:nth-child(5){width:20%}
  91. .col.fifth+.fill{width:80%}
  92. .col.fifth+div:nth-child(3).fill{width:60%;}
  93. .col.fifth+div:nth-child(4).fill{width:40%;}
  94. }
  95. /* ie8 overrides - I'd suggest using conditionals with either ".ie-8 class or loading in a separate legacy stylesheet with conditionals */
  96. @media (min-width:30em){
  97. .row>.col{width:50%}
  98. .row>.fill.col{width:100%}
  99. .row>.half.col+.fill,
  100. .row>.third.col+.fill,
  101. .row>.fourth.col+.fill,
  102. .row>.fifth.col+.fill,
  103. .row>.fifth.col+div+div+.fill{width:50%}
  104. .row>.fourth.col+div+.fill,
  105. .row>.fifth.col+div+.fill,
  106. .row>.third.col+div+div,
  107. .row>.fifth.col+div+div+div+div{width:100%}
  108. }
  109. @media (min-width:50em){
  110. .row>.third.col,
  111. .row>.third.col+div+div{width:33.333%}
  112. .row>.third.col+.fill{width:66.666%}
  113. .row>.fourth.col{width:25%}
  114. .row>.fourth.col+.fill{width:75%}
  115. .row>.fourth.col+div+.fill{width:50%}
  116. .row>.fifth.col+.fill{width:80%}
  117. .row>.fifth.col,
  118. .row>.fifth.col+div+div+div+div{width:20%}
  119. .row>.fifth.col+div+.fill{width:60%}
  120. .row>.fifth.col+div+div+.fill{width:40%}
  121. }
  122. /* ----------------- */
  123. ul {
  124. margin-left: 7px;
  125. padding-left: 1.3em;
  126. line-height: 1.5em;
  127. /*list-style-type: none;*/
  128. list-style-position: outside;
  129. }
  130. div#nav_right{
  131. font-family: mono;
  132. font-size: 12px;
  133. text-decoration: none;
  134. padding: 8px;
  135. word-wrap: break-word;
  136. margin: 150px 22px 22px 7px;
  137. border-radius: 12px;
  138. border-right-style: solid;
  139. border-right-width: 2px;
  140. border-left-style: none;
  141. border-left-width: 1px;
  142. border-top-style: solid;
  143. border-top-width: 2px;
  144. border-bottom-width: 2px;
  145. border-bottom-style: solid;
  146. -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(53, 226, 234, 0.81);
  147. -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(48, 201, 208, 0.81);
  148. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(57, 188, 194, 0.81);
  149. /* C */
  150. background-color: #002206;
  151. color: #B1BFA3;
  152. border-top-color: #43DDE5;
  153. border-right-color: #35E2EA;
  154. border-bottom-color: #2B4E4D;
  155. }
  156. div#nav_right a{
  157. /* C */
  158. color: #A1AD93;
  159. }
  160. div#nav_right a:hover{
  161. border-width: 2px;
  162. border-style: dashed;
  163. /* C */
  164. background-color: #27442B;
  165. border-color: #1d7d4a;
  166. }
  167. div#nav_right ul{
  168. list-style-type: none;
  169. line-height: 1.7em;
  170. margin-left: 0;
  171. word-wrap: break-word;
  172. }
  173. div#noticia{
  174. padding: 8px;
  175. word-wrap: break-word;
  176. margin: 12px 45px 10px 7px;
  177. border-radius: 8px;
  178. border-style: solid;
  179. border-width: 1px;
  180. /* C */
  181. border-right-color: #A2E3E1;
  182. border-top-color: #A2E3E1;
  183. border-left-color: #526341;
  184. border-bottom-color: #82A381;
  185. -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(157, 236, 154, 0.81);
  186. -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(103, 235, 100, 0.81);
  187. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(69, 195, 64, 0.81);
  188. }
  189. div#consejo_del_dia{
  190. margin: 12px 1px 1px 1px;
  191. padding: 4px;
  192. word-wrap: break-word;
  193. border-radius: 4px;
  194. border-style: dashed;
  195. border-width: 1px;
  196. font-size: 0.8em;
  197. font-family: sans;
  198. /* C */
  199. border-color: #503BE9;
  200. }
  201. div#consejo_del_dia hr{
  202. background-color: #423B75;
  203. }
  204. div#contenido{
  205. float:rigth;
  206. width: 87;
  207. }
  208. div#wrap {
  209. min-height: 100%;
  210. padding:0 1.1em;
  211. }
  212. div#nav {
  213. padding-top: 0.2%;
  214. padding-bottom: 0.2%;
  215. }
  216. div#main {
  217. overflow:auto;
  218. padding-bottom: 50px; /* must be same height as the footer */
  219. }
  220. div#home{
  221. font-size: 1.2em;
  222. padding: 5% 20%;
  223. /* C */
  224. color: #AAA;
  225. }
  226. div#footer {
  227. position: relative;
  228. margin-top: 50px; /* non negative value of footer height */
  229. height: 50px;
  230. clear:both;
  231. padding:0 2em;
  232. }
  233. div#attributes {
  234. padding: 1% 7%;
  235. }
  236. div.e-content {
  237. padding: 1% 2%;
  238. }
  239. div.output{
  240. padding: 2%;
  241. }
  242. div.highlight{
  243. padding: 2%;
  244. font-size: 11px;
  245. /* C */
  246. background-color: #111212;
  247. }
  248. h1 {
  249. font-family: 'EB Garamond', Garamond, serif;
  250. font-size: 2.9em;
  251. padding: 0 0 1% 5%;
  252. font-weight: normal;
  253. clear: both;
  254. }
  255. h2{
  256. font-family: 'EB Garamond', Garamond, serif;
  257. font-size: 1.85em;
  258. padding:0.5em 0;
  259. }
  260. h3{
  261. font-family: 'EB Garamond', Garamond, serif;
  262. font-size: 1.65em;
  263. padding:0.5em 0;
  264. }
  265. h4{
  266. font-family: 'EB Garamond', Garamond, serif;
  267. font-size: 1.4em;
  268. padding:0.5em 0;
  269. }
  270. h5{
  271. font-family: 'EB Garamond', Garamond, serif;
  272. font-size: 1.27em;
  273. padding:0.5em 0;
  274. }
  275. h6{
  276. font-family: 'EB Garamond', Garamond, serif;
  277. font-size: 1.16em;
  278. padding:0.5em 0;
  279. }
  280. p {
  281. padding:0.5em 0;
  282. }
  283. p#post-details {
  284. font-style: italic;
  285. text-align:right;
  286. font-size: 1.1em;
  287. }
  288. p.p-summary {
  289. font-style: italic;
  290. font-size: 1.2em;
  291. font-family: 'EB Garamond', Garamond, serif;
  292. }
  293. p#footer {
  294. padding-top: 15px;
  295. font-size: 0.8em;
  296. text-align: center;
  297. /* padding-left: 10%; */
  298. /* C */
  299. color: #ABC;
  300. }
  301. a {
  302. /* C */
  303. color: #56CE54;
  304. text-decoration: none;
  305. }
  306. a:visited{
  307. /* C */
  308. color: #46AE74;
  309. }
  310. a:hover{
  311. border-radius: 2px;
  312. /* C */
  313. background-color:#2DA22D;
  314. color: #C3C2D2;
  315. }
  316. .titulo_noticia{
  317. font-size: 1.55em;
  318. padding:0.2em 0;
  319. }
  320. .categorias a{
  321. font-family: sans;
  322. border-right-width: 3px;
  323. border-top-width: 1px;
  324. border-bottom-width: 0;
  325. border-left-width: 0;
  326. border-style: solid;
  327. border-radius: 2px;
  328. margin-right: 7px;
  329. /* C */
  330. border-right-color: #38C5DC;
  331. border-top-color: #3BA2B3;
  332. background-color: #2C4080;
  333. color: #E8E6D5;
  334. }
  335. .categorias a:visited{
  336. color: #E8E6D5;
  337. }
  338. a.button{
  339. padding: 0.3em;
  340. border: solid 1px;
  341. /* display: block; */
  342. text-decoration: none;
  343. /* C */
  344. background-color:#e2e2e2;
  345. }
  346. a.u-url{
  347. font-size:0.9em;
  348. }
  349. ul#nav {
  350. display: block;
  351. /*margin: 0 5%;
  352. padding: 0;*/
  353. padding-left: 5%;
  354. padding-top: 0.2%;
  355. padding-bottom: 0.2%;
  356. list-style-type: none;
  357. font-family: 'EB Garamond', Garamond, serif;
  358. font-size: 1.2em;
  359. }
  360. ul#nav li {
  361. display: inline; /* make flat */
  362. }
  363. ul#nav a {
  364. display: block;
  365. float: left;
  366. padding: 0 1em;
  367. text-decoration: none;
  368. color: #999;
  369. }
  370. hr {
  371. border: 0;
  372. background-color: #999;
  373. height: 1px;
  374. }
  375. blockquote {
  376. padding: 0 2em;
  377. margin: 7px;
  378. border-left-style: solid;
  379. border-left-width: 4px;
  380. font-style: italic;
  381. /* C */
  382. background-color: #313433;
  383. border-left-color: #3E4984;
  384. }
  385. pre {
  386. font-size: 12px;
  387. border-width: 1px;
  388. border-style: solid;
  389. border-radius: 5px;
  390. /* C */
  391. border-color: #435161;
  392. background-color: #2D322D;
  393. padding: 5px;
  394. }
  395. table{
  396. font-family: sans;
  397. font-size: 0.9em;
  398. border-width: 1px;
  399. border-style: solid;
  400. /* C */
  401. border-color: #59595A;
  402. }
  403. td{
  404. border-top-style: solid;
  405. border-width: 1px;
  406. padding: 11px;
  407. /* C */
  408. border-color: #59595A;
  409. }
  410. .headerlink {
  411. padding-left: 7px;
  412. font-size: 0.33em;
  413. }
  414. .headerlink:hover {
  415. font-size: 0.5em;
  416. }
  417. /* Code Hilite */
  418. div.codehilite .hll { background-color: #3f3f3c }
  419. div.codehilite { background: #383838; }
  420. div.codehilite .c { color: #408080; font-style: italic } /* Comment */
  421. div.codehilite .err { border: 1px solid #FF0000 } /* Error */
  422. div.codehilite .k { color: #30A020; font-weight: bold } /* Keyword */
  423. div.codehilite .o { color: #7D7D7D } /* Operator */
  424. div.codehilite .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
  425. div.codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */
  426. div.codehilite .cp { color: #BC7A00 } /* Comment.Preproc */
  427. div.codehilite .cpf { color: #509090; font-style: italic } /* Comment.PreprocFile */
  428. div.codehilite .c1 { color: #509090; font-style: italic } /* Comment.Single */
  429. div.codehilite .cs { color: #509090; font-style: italic } /* Comment.Special */
  430. div.codehilite .gd { color: #A00000 } /* Generic.Deleted */
  431. div.codehilite .ge { font-style: italic } /* Generic.Emph */
  432. div.codehilite .gr { color: #FF0000 } /* Generic.Error */
  433. div.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
  434. div.codehilite .gi { color: #00A000 } /* Generic.Inserted */
  435. div.codehilite .go { color: #888888 } /* Generic.Output */
  436. div.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
  437. div.codehilite .gs { font-weight: bold } /* Generic.Strong */
  438. div.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
  439. div.codehilite .gt { color: #0044DD } /* Generic.Traceback */
  440. div.codehilite .kc { color: #108020; font-weight: bold } /* Keyword.Constant */
  441. div.codehilite .kd { color: #008050; font-weight: bold } /* Keyword.Declaration */
  442. div.codehilite .kn { color: #20D020; font-weight: bold } /* Keyword.Namespace */
  443. div.codehilite .kp { color: #20E030 } /* Keyword.Pseudo */
  444. div.codehilite .kr { color: #508000; font-weight: bold } /* Keyword.Reserved */
  445. div.codehilite .kt { color: #a04040 } /* Keyword.Type */
  446. div.codehilite .m { color: #666666 } /* Literal.Number */
  447. div.codehilite .s { color: #E2911D } /* Literal.String */
  448. div.codehilite .na { color: #7D9029 } /* Name.Attribute */
  449. div.codehilite .nb { color: #40D030 } /* Name.Builtin */
  450. div.codehilite .nc { color: #2030FF; font-weight: bold } /* Name.Class */
  451. div.codehilite .no { color: #880000 } /* Name.Constant */
  452. div.codehilite .nd { color: #AA22FF } /* Name.Decorator */
  453. div.codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */
  454. div.codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
  455. div.codehilite .nf { color: #3891D3; } /* Name.Function */
  456. div.codehilite .nl { color: #A0A000 } /* Name.Label */
  457. div.codehilite .nn { color: #0920FF; font-weight: bold } /* Name.Namespace */
  458. div.codehilite .nt { color: #20B000; font-weight: bold } /* Name.Tag */
  459. div.codehilite .nv { color: #9957EC } /* Name.Variable */
  460. div.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
  461. div.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
  462. div.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
  463. div.codehilite .mf { color: #666666 } /* Literal.Number.Float */
  464. div.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
  465. div.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
  466. div.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
  467. div.codehilite .sb { color: #CA5931 } /* Literal.String.Backtick */
  468. div.codehilite .sc { color: #CA5931 } /* Literal.String.Char */
  469. div.codehilite .sd { color: #CA3961; font-style: italic } /* Literal.String.Doc */
  470. div.codehilite .s2 { color: #CA6131 } /* Literal.String.Double */
  471. div.codehilite .se { color: #EB6622; font-weight: bold } /* Literal.String.Escape */
  472. div.codehilite .sh { color: #BC3129 } /* Literal.String.Heredoc */
  473. div.codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
  474. div.codehilite .sx { color: #008000 } /* Literal.String.Other */
  475. div.codehilite .sr { color: #BB6688 } /* Literal.String.Regex */
  476. div.codehilite .s1 { color: #CE9241 } /* Literal.String.Single */
  477. div.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
  478. div.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
  479. div.codehilite .vc { color: #19177C } /* Name.Variable.Class */
  480. div.codehilite .vg { color: #19177C } /* Name.Variable.Global */
  481. div.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
  482. div.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */