main.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. /* || CSS resource || */
  2. /*
  3. ______
  4. | \_______ --|| About ||--
  5. |______/ |
  6. | ___ _ _ | Centrikarto 20201029.01
  7. | .' __|| |/ |'|
  8. | | |__ | < | The Cascading Style Sheet (CSS) resource format
  9. | '.___||_|\_| | for the HTML page of my personal website.
  10. | \. |
  11. |____'\________| Created by Jayvee Enaguas (HarvettFox96)
  12. <harvettfox96@dismail.de>, available under
  13. the libre/free licence of CC BY 4.0[1].
  14. ----|| References ||----
  15. [1]: https://creativecommons.org/licenses/by/4.0/
  16. */
  17. /* --|| Fonts ||-- */
  18. /* ----|| Barlow ||---- */
  19. /* Regular */
  20. @font-face {
  21. font-family: "Barlow";
  22. font-weight: normal;
  23. src: url("/fonts/Barlow-Regular.woff") format("woff");
  24. }
  25. /* Italic */
  26. @font-face {
  27. font-family: "Barlow";
  28. font-weight: normal;
  29. font-style: italic;
  30. src: url("/fonts/Barlow-Italic.woff") format("woff");
  31. }
  32. /* Bold */
  33. @font-face {
  34. font-family: "Barlow";
  35. font-weight: bold;
  36. src: url("/fonts/Barlow-Bold.woff") format("woff");
  37. }
  38. /* Bold Italic */
  39. @font-face {
  40. font-family: "Barlow";
  41. font-weight: bold;
  42. font-style: italic;
  43. src: url("/fonts/Barlow-BoldItalic.woff") format("woff");
  44. }
  45. /* ----|| Material Design Icons ||---- */
  46. @font-face {
  47. font-family: "Material Icons";
  48. font-weight: normal;
  49. src: url("/fonts/MaterialIcons-Regular.woff") format("woff");
  50. }
  51. /* --|| General ||-- */
  52. /* ----|| Base ||---- */
  53. body {
  54. /* Geometry */
  55. width: 656px;
  56. margin: 0 auto;
  57. padding: 4px 8px 0 8px;
  58. /* Background */
  59. background: #F4CA4B;
  60. /* Text */
  61. font-family: "Barlow", sans-serif;
  62. font-size: 9pt;
  63. color: #3F3F3F;
  64. }
  65. /* ----|| Header ||---- */
  66. h1 {
  67. /* Geometry */
  68. margin: 0;
  69. margin-bottom: 8px;
  70. padding-bottom: 8px;
  71. /* Border */
  72. border-bottom: 1px solid white;
  73. /* Text */
  74. font-size: 18pt;
  75. }
  76. h1, h2,
  77. h3, h4,
  78. h5, h6 {
  79. /* Text */
  80. font-weight: bold;
  81. }
  82. h2, h3,
  83. h4, h5,
  84. h6 {
  85. /* Geometry */
  86. margin: 0;
  87. }
  88. .cont h1 {
  89. /* Border */
  90. border-bottom: 1px solid #AFAFAF;
  91. }
  92. h2 {
  93. /* Text */
  94. font-size: 15pt;
  95. }
  96. h3 {
  97. /* Text */
  98. font-size: 12pt;
  99. }
  100. h4 {
  101. /* Text */
  102. font-size: 10pt;
  103. }
  104. h5, h6 {
  105. /* Text */
  106. font-size: 9pt;
  107. }
  108. /* ----|| Monospace font ||---- */
  109. code, .ccont {
  110. /* Text */
  111. font-family: "Bitstream Vera Sans Mono", "DejaVu Sans Mono", "Hack", "Luicida Console", "Monaco", "Menlo", "Prima Sans Mono BT", monospace;
  112. }
  113. /* ----|| Symbol icon ||---- */
  114. .icon {
  115. /* Text */
  116. font-family: "Material Icons";
  117. font-size: 9pt;
  118. }
  119. /* ----|| Text link ||---- */
  120. a,
  121. a.nolink:hover,
  122. .navtab a:hover {
  123. /* Text */
  124. text-decoration: none;
  125. }
  126. a:hover,
  127. .navtab a.current:hover {
  128. /* Text */
  129. text-decoration: underline;
  130. }
  131. a.nolinkul {
  132. /* Text */
  133. text-decoration: underline dotted;
  134. }
  135. .navtab a.current,
  136. .notc a.nolink {
  137. /* Text */
  138. color: white;
  139. }
  140. .cont a,
  141. .ftcont a {
  142. /* Text */
  143. color: #1773A7;
  144. }
  145. .notc a {
  146. /* Text */
  147. color: #57B3E7;
  148. }
  149. a,
  150. .navtab a,
  151. .cont a.nolink,
  152. .cont a.nolinkul,
  153. .ftcont a.nolink,
  154. .ftcont a.nolinkul {
  155. /* Text */
  156. color: #3F3F3F;
  157. }
  158. /* ----|| Link cursor ||---- */
  159. a.nolink:hover {
  160. /* Cursor */
  161. cursor: default;
  162. }
  163. /* ----|| List ||---- */
  164. ol, ul {
  165. /* Geometry */
  166. margin: 0;
  167. padding-left: 24px;
  168. }
  169. ol li,
  170. ul li {
  171. /* Geometry */
  172. padding: 2px 0;
  173. }
  174. /* ----|| Horizontal rule ||---- */
  175. hr {
  176. /* Geometry */
  177. margin: 8px 0;
  178. /* Border */
  179. border: none;
  180. border-top: 1px solid white;
  181. }
  182. .cont hr,
  183. .ftcont hr {
  184. /* Border */
  185. border-top: 1px solid #AFAFAF;
  186. }
  187. /* ----|| Table ||---- */
  188. table {
  189. /* Geometry */
  190. margin: 4px 0;
  191. /* Border */
  192. border-collapse: collapse;
  193. }
  194. th, td {
  195. /* Geometery */
  196. padding: 4px;
  197. /* Border */
  198. border: 1px solid white;
  199. }
  200. .cont th,
  201. .cont td {
  202. /* Border */
  203. border: 1px solid #AFAFAF;
  204. }
  205. .cont th {
  206. /* Background */
  207. background: #EFEFEF;
  208. }
  209. .cont td {
  210. /* Background */
  211. background: white;
  212. }
  213. /* ----|| Image ||---- */
  214. img {
  215. /* Geometry */
  216. max-width: 640px;
  217. max-height: 1280px;
  218. }
  219. .cont img {
  220. /* Border */
  221. border-radius: 4px;
  222. }
  223. /* ----|| Inline image ||---- */
  224. img.inline {
  225. /* Geometry */
  226. display: inline-block;
  227. vertical-align: middle;
  228. /* Border */
  229. border-radius: 2px;
  230. }
  231. /* ----|| Column ||---- */
  232. .cont table.column {
  233. /* Geometry */
  234. width: 100%;
  235. margin: 0;
  236. }
  237. .cont table.column td {
  238. /* Geometry */
  239. vertical-align: top;
  240. padding: 0;
  241. /* Background */
  242. background: none;
  243. /* Border */
  244. border: 0 none;
  245. }
  246. /* ----|| Floating object ||---- */
  247. .fltlf {
  248. /* Geometry */
  249. float: left;
  250. padding-right: 8px;
  251. }
  252. .fltrt {
  253. /* Geometry */
  254. float: right;
  255. padding-left: 8px;
  256. }
  257. /* ----|| Clear line ||---- */
  258. .clear {
  259. /* Text */
  260. clear: both;
  261. }
  262. /* ----|| Navigator tab ||---- */
  263. .navtab {
  264. /* Geometry */
  265. overflow: hidden;
  266. padding: 0 2px;
  267. /* Border */
  268. border-bottom: 4px solid #17A71F;
  269. }
  270. .navtab a {
  271. /* Geometry */
  272. float: left;
  273. margin: 0 2px;
  274. padding: 8px;
  275. /* Background */
  276. background: #EFEFEF;
  277. /* Border */
  278. border-radius: 4px 4px 0 0;
  279. }
  280. .navtab a:hover {
  281. /* Background */
  282. background: white;
  283. }
  284. .navtab a.current {
  285. /* Background */
  286. background: #17A71F;
  287. /* Text */
  288. font-weight: bold;
  289. }
  290. /* ----|| Content area ||---- */
  291. .cont {
  292. /* Geometry */
  293. padding: 8px;
  294. /* Background */
  295. background: white;
  296. /* Text */
  297. color: #3F3F3F;
  298. }
  299. /* ----|| Gallery area ||---- */
  300. table.gcont {
  301. /* Geometry */
  302. margin: 4px 0;
  303. width: 100%;
  304. }
  305. .gcont td {
  306. /* Geometry */
  307. padding: 4px 0;
  308. /* Border */
  309. border: 0 none;
  310. /* Text */
  311. text-align: center;
  312. }
  313. /* ----|| Gallery thumbnail image ||---- */
  314. .gcont img.ithumb {
  315. /* Geometry */
  316. display: block;
  317. width: 128px;
  318. height: 128px;
  319. margin: auto;
  320. margin-bottom: 8px;
  321. /* Background */
  322. background: #EFEFEF;
  323. /* Border */
  324. border: 1px solid #AFAFAF;
  325. }
  326. .gcont img.ithumb:hover {
  327. /* Background */
  328. background: white;
  329. }
  330. /* ----|| Notice box ||---- */
  331. .notc {
  332. /* Geometry */
  333. margin: 4px 0;
  334. padding: 8px;
  335. /* Background */
  336. background: #3F3F3F;
  337. /* Border */
  338. border-radius: 4px;
  339. /* Text */
  340. text-align: center;
  341. color: white;
  342. }
  343. /* ----|| Code box ||---- */
  344. .ccont {
  345. /* Geometry */
  346. overflow-x: scroll;
  347. margin: 4px 0;
  348. padding: 8px;
  349. /* Background */
  350. background: #172227;
  351. /* Text */
  352. color: #A0F44B;
  353. white-space: nowrap;
  354. }
  355. /* ----|| Footer area ||---- */
  356. .ftcont {
  357. /* Geometry */
  358. padding: 8px;
  359. /* Background */
  360. background: #EFEFEF;
  361. /* Border */
  362. border-top: 1px solid #AFAFAF;
  363. /* Text */
  364. font-size: 8pt;
  365. color: #3F3F3F;
  366. }
  367. /* ----|| Footer shadow ||---- */
  368. .shdw {
  369. /* Geometry */
  370. margin-bottom: 6px;
  371. /* Border */
  372. border-bottom: 2px solid #E3983B;
  373. }