main.css 8.6 KB

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