main.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. /* Default to some sans-serif font at a specific size */
  2. html { font-size: 100%; }
  3. body { font-family: sans-serif; overflow-y: scroll; }
  4. h1, h2, h3, h4, h5 { font-family: 'Ubuntu', 'Trebuchet MS', sans-serif; }
  5. pre, tt.literal { font: 0.8em Monaco, monospace; }
  6. pre { margin: 0 0 1em 1em; overflow: auto; }
  7. .thumb {
  8. position: relative;
  9. max-height: 64px;
  10. max-width: 96px;
  11. color: rgba(255, 255, 255, 0.7);
  12. font-size: 32px;
  13. text-align: center;
  14. vertical-align: middle;
  15. }
  16. .fa.thumb-icon {
  17. height: 64px;
  18. width: 96px;
  19. background-size: 96px 64px;
  20. line-height: 64px;
  21. }
  22. .gallery a:hover { border: 0px; } /* Bye bye ugly blue border */
  23. /* No dots around clicked links */
  24. a, a:active { outline: none; }
  25. /* HTML5 tags */
  26. header, section, footer, aside, nav, article, figure { display: block; }
  27. /* Markup */
  28. body, .container { min-width: 320px; max-width: 75%; margin: 0 auto; }
  29. body { line-height: 1.5; margin: 50px auto 0; }
  30. header {
  31. position: fixed;
  32. top: 0;
  33. left: 0;
  34. background-color: #f1f1f1;
  35. width: 100%;
  36. z-index: 999;
  37. }
  38. a { color: #055580; text-decoration: none; }
  39. a:hover { border-bottom: 1px solid #055580; }
  40. time { color: grey; }
  41. h1 { font-size: 2em; }
  42. h2 { font-size: 1.7em; }
  43. h3 { font-size: 1.5em; }
  44. h4 { font-size: 1.3em; margin-bottom: 0}
  45. h1 a, h2 a { text-decoration: none; }
  46. h1 a:hover, h2 a:hover { text-decoration: underline; }
  47. h1, h2 { margin: 0.5em 0 0.5em 0; }
  48. h5 { margin: 0; font-size: 1em; font-weight: normal; }
  49. p { margin: 1em 0; line-height:1.4em; }
  50. article > p { margin-top: 0; }
  51. footer { text-align: center; margin-top: 2em; }
  52. #nav { display: inline-block; list-style: none; margin: 0; padding: 0; }
  53. #nav li { display: inline-block; }
  54. .nav-btn, .nav-count {
  55. display: inline-block;
  56. font-size: 14px;
  57. line-height: 30px;
  58. padding: 0 10px;
  59. color: #555; }
  60. .nav-btn {
  61. cursor: pointer;
  62. }
  63. .nav-btn:hover,
  64. li.active .nav-btn { color: #000; background-color: #fbfbfb; }
  65. li.active .nav-btn { font-weight: bold; }
  66. #nav .tag-group {
  67. display: none;
  68. width: 100%;
  69. position: absolute;
  70. left: 0;
  71. padding: 10px 0;
  72. border-bottom: 1px solid #f1f1f1;
  73. background-color: #fbfbfb;
  74. z-index: 2; }
  75. #nav li:hover .tag-group,
  76. #nav li.active .tag-group { display: block; }
  77. #nav li.active .tag-group { z-index: 1; }
  78. /* content */
  79. article header h1, #posts h2 { margin-top: 0; }
  80. article header details { color: #ccc; margin-top: -1.5em; margin-bottom: 1em; }
  81. article header details a { color: grey; }
  82. .toggler, .notoggler { display: inline-block; width: 20px; margin-left: -20px; }
  83. .toggler { cursor: pointer; color: lightgray; }
  84. .toggler:hover { color: #404040; }
  85. .notoggler { display: none; }
  86. #posts tr.year { text-align: center; }
  87. #posts tr.year h2 { margin-bottom: 0; }
  88. #posts tr.year.pad td { padding-top: 1em; }
  89. #posts td.date { text-align: right; padding-right: 1em; white-space: nowrap; }
  90. #posts td.title a { font-size: 1.4em; text-decoration: none; }
  91. blockquote { margin: 1.5em 0 0 1.5em; }
  92. blockquote:before {
  93. content: "\201C";
  94. color: grey;
  95. font-size: 4em;
  96. line-height: 0.1em;
  97. margin-left: -0.4em;
  98. vertical-align: bottom;
  99. font-family: 'Lucida Grande', Verdana, serif; }
  100. blockquote:after {
  101. content: "\201D";
  102. color: grey;
  103. font-size: 4em;
  104. line-height: 0.1em;
  105. margin-left: 9.5em;
  106. vertical-align: bottom;
  107. font-family: 'Lucida Grande', Verdana, serif; }
  108. blockquote :first-child { margin-top: -1.5em; }
  109. blockquote :last-child { margin-bottom: -0.8em; }
  110. dt { font-weight: bold; }
  111. dd { padding-left: 1em; padding-bottom: 0.5em; }
  112. dd + dt { margin-top: 1em; }
  113. .new:before {
  114. position: absolute;
  115. content: 'NEW';
  116. margin: 2px 0 0 -55px;
  117. padding: 1px 5px;
  118. font-size: 10px;
  119. background-color: red;
  120. color: white;
  121. }
  122. .note { color: grey; }
  123. .photo { float: right; }
  124. .readers { float: right; font-size: small; }
  125. .icon { float: left; padding: 0.5em 0.3em 0 0; }
  126. .feed-icon a { float: right; padding-top: 0.5em; }
  127. .add-link { color: grey; text-decoration: none; font-weight: normal; font-size: 12px; }
  128. .tags-active dt, .tags-active dd {display: none}
  129. .tags-active dt.active, .tags-active dd.active {display: block}
  130. .tag-groups {
  131. display: inline-block;
  132. font-size: 12px;
  133. padding: 0 6px;
  134. margin: 0 2px;
  135. color: #444;
  136. background-color: #a9a9a9;
  137. white-space: nowrap;
  138. -webkit-user-select: none;
  139. -moz-user-select: none;
  140. user-select: none;
  141. position: relative;
  142. top: -2px;
  143. }
  144. .tag {
  145. display: inline-block;
  146. font-size: 12px;
  147. padding: 0 6px;
  148. margin: 0 2px;
  149. color: #444;
  150. background-color: #eee;
  151. cursor: pointer;
  152. white-space: nowrap;
  153. -webkit-user-select: none;
  154. -moz-user-select: none;
  155. user-select: none;
  156. }
  157. .tag:hover {
  158. background-color: #fff;
  159. }
  160. .light-theme .tag.playable { color: #28a745; }
  161. .light-theme .tag.semi-playable { color: #CB9423; }
  162. .light-theme .tag.unplayable { color: #dc3545; }
  163. .dark-theme .tag.playable { background-color: #28a745; }
  164. .dark-theme .tag.playable:hover { background-color: #088725; }
  165. .dark-theme .tag.semi-playable { background-color: #af8100; }
  166. .dark-theme .tag.semi-playable:hover { background-color: #8f6100; }
  167. .dark-theme .tag.unplayable { background-color: #dc3545; }
  168. .dark-theme .tag.unplayable:hover { background-color: #bc1535; }
  169. .light-theme .tag.very-active,
  170. .light-theme .tag.active,
  171. .light-theme .tag.complete { color: #28a745; }
  172. .light-theme .tag.sporadic { color: #CB9423; }
  173. .light-theme .tag.halted { color: #dc3545; }
  174. .dark-theme .tag.very-active,
  175. .dark-theme .tag.active,
  176. .dark-theme .tag.complete { background-color: #28a745; }
  177. .dark-theme .tag.very-active:hover,
  178. .dark-theme .tag.active:hover,
  179. .dark-theme .tag.complete:hover { background-color: #088725; }
  180. .dark-theme .tag.sporadic { background-color: #af8100; }
  181. .dark-theme .tag.sporadic:hover { background-color: #8f6100; }
  182. .dark-theme .tag.halted { background-color: #dc3545; }
  183. .dark-theme .tag.halted:hover { background-color: #bc1535; }
  184. .light-theme .tag.cc-by-nc,
  185. .light-theme .tag.cc-by-nc-nd,
  186. .light-theme .tag.cc-by-nc-sa { color: #CB9423; }
  187. .light-theme .tag.as-is,
  188. .light-theme .tag.custom { color: #dc3545; }
  189. .dark-theme .tag.cc-by-nc,
  190. .dark-theme .tag.cc-by-nc-nd,
  191. .dark-theme .tag.cc-by-nc-sa { background-color: #af8100; }
  192. .dark-theme .tag.cc-by-nc:hover,
  193. .dark-theme .tag.cc-by-nc-nd:hover,
  194. .dark-theme .tag.cc-by-nc-sa:hover { background-color: #f6100; }
  195. .dark-theme .tag.as-is,
  196. .dark-theme .tag.custom { background-color: #dc3545; }
  197. .dark-theme .tag.as-is:hover,
  198. .dark-theme .tag.custom:hover { background-color: #bc1535; }
  199. .tag-badge {
  200. margin: 0 -6px 0 6px;
  201. padding: 2px 6px;
  202. color: #666;
  203. background-color: #ddd;
  204. }
  205. #filter {
  206. display: inline-block;
  207. padding: 4px 10px;
  208. margin: 0;
  209. border: 0 none;
  210. font-size: 14px;
  211. line-height: 22px;
  212. color: #555;
  213. background-color: #fff;
  214. outline: 0;
  215. }
  216. .repoicon {
  217. height: 14px;
  218. width: 100%;
  219. padding-left: .2em;
  220. display: inline !important;
  221. }
  222. .badge {
  223. position: relative;
  224. top: 4px;
  225. padding-left: 5px;
  226. }
  227. .feed-icon {
  228. color: #f26522;
  229. }
  230. .feed-icon span {
  231. height: 14px;
  232. width: 100%;
  233. display: inline !important;
  234. padding: .2em;
  235. }
  236. .dark-theme {
  237. background-color: #303030;
  238. color: #E4E4E4;
  239. }
  240. .dark-theme header {
  241. background-color: #252525;
  242. }
  243. .dark-theme .nav-btn,
  244. .dark-theme .nav-count {
  245. color: #817F7F;
  246. }
  247. .dark-theme #filter{
  248. color: #E3E3E3;
  249. background-color: #555;
  250. }
  251. .dark-theme a { color: #0686CB}
  252. .dark-theme li.active .nav-btn,
  253. .dark-theme li.active .nav-count {
  254. color: #000
  255. }
  256. #dark-theme-button {
  257. float: right;
  258. }
  259. #sortButton {
  260. float: right;
  261. }
  262. .dark-theme #nav .tag-group {
  263. background-color: #323232;
  264. border-bottom: 1px solid #1C1C1C;
  265. }
  266. .dark-theme .nav-btn:hover,
  267. .dark-theme li.active .nav-btn {
  268. background-color: #323232;
  269. color: #E3E3E3;
  270. }
  271. .dark-theme .tag {
  272. background-color: #5C5C5C;
  273. color: #E3E3E3;
  274. }
  275. .dark-theme .tag:hover {
  276. background-color: #3C3C3C;
  277. }
  278. .dark-theme .tag-badge {
  279. color: #E3E3E3;
  280. background-color: #888888;
  281. }
  282. .dark-theme .repoicon svg {
  283. color: white;
  284. fill: currentColor;
  285. }
  286. .dark-theme .feed-icon {
  287. color: white;
  288. }
  289. #dl {
  290. display: none;
  291. }
  292. .game-spacer {
  293. margin: 10px;
  294. }