style.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. @font-face {
  2. font-family: "Tiempo";
  3. src: url(Tiempo-Bold_44533.ttf);
  4. }
  5. :root {
  6. --serif: 'Anko', Georgia, Sitka Text, Palatino, serif;
  7. --sans: 'Inter', Segoe UI, Arial, Helvetica, sans-serif;
  8. --chunk: 'Chunk', serif;
  9. --hitam-800: #2e231d;
  10. --hitam-teks: #333333;
  11. --gray: #666666 ;
  12. --merah: #ff002b;
  13. }
  14. /* width */
  15. .w-600 {
  16. width: 600px;
  17. }
  18. .w-700 {
  19. width: 700px;
  20. }
  21. .w-800 {
  22. width: 800px;
  23. }
  24. .w-full {
  25. width: 100%;
  26. }
  27. .m-auto {
  28. margin: 0px auto;
  29. }
  30. .serif {
  31. font-family:var(--serif)
  32. }
  33. body {
  34. color:var(--hitam-800);
  35. margin: 0;
  36. }
  37. i {
  38. font-style:italic
  39. }
  40. b {
  41. font-weight:800;
  42. font-size:1em
  43. }
  44. strong {
  45. color: var(--hitam-800);
  46. }
  47. mark {
  48. text-decoration-line: underline;
  49. text-decoration-style: wavy;
  50. text-underline-offset: 6px;
  51. text-decoration-thickness: 1.5px;
  52. text-decoration-color: #9a8c98;
  53. padding: 4px 6px;
  54. background: rgba(255,241,230,0.4);
  55. }
  56. .container {
  57. min-height: 100%;
  58. position: relative;
  59. overflow: hidden;
  60. }
  61. .container::before {
  62. background-image: url("bg-corner.svg"), url("bg-corner-2.svg");
  63. background-position: left 0px bottom 0px, left 50px bottom 0px;
  64. background-repeat: no-repeat;
  65. content: '';
  66. height: 100%;
  67. left: 0;
  68. position: fixed;
  69. top: 0;
  70. width: 100%;
  71. will-change: transform;
  72. z-index: -1;
  73. }
  74. .gray {
  75. color:var(--gray);
  76. font-family:var(--sans);
  77. line-height:1.3;
  78. font-size:1em;
  79. margin-bottom:2em;
  80. width:650px
  81. }
  82. .img_1 {
  83. margin:1em auto
  84. }
  85. header {
  86. width: 100%;
  87. background-color: none;
  88. }
  89. .masthead {
  90. width: 700px;
  91. margin: 0px auto 6em auto;
  92. display: flex;
  93. flex-direction: row;
  94. align-items: center;
  95. }
  96. .logo {
  97. width: 10%;
  98. }
  99. .logo:hover {
  100. color: red;
  101. transition-property: color;
  102. transition-duration: 1s;
  103. }
  104. .tagline {
  105. width: 55%;
  106. position: relative;
  107. overflow:hidden;
  108. white-space: nowrap;
  109. overflow: hidden;
  110. text-overflow: clip;
  111. }
  112. .up {
  113. text-transform: uppercase;
  114. color: var(--hitam-teks);
  115. font: .7em/1 var(--sans);
  116. padding: 0 10px;
  117. }
  118. .tagline__judul {
  119. padding: 0 10px 0 0;
  120. color: var(--hitam-teks);
  121. font: .95em/1 var(--sans);
  122. }
  123. .kus {
  124. text-transform: uppercase;
  125. font-weight: bold;
  126. }
  127. .tagline::after {
  128. content:"";
  129. position: absolute;
  130. top: 0;
  131. left:0;
  132. right: 0;
  133. width: 100%;
  134. height: 100%;
  135. background: linear-gradient(to left,#fff,rgba(255,255,255,0) 20%);
  136. }
  137. .tagline__judul:hover {
  138. color: red;
  139. transition-property: color;
  140. transition-duration: 1s;
  141. }
  142. .menu {
  143. width: 35%;
  144. }
  145. a.menux {
  146. font: .85em/1 var(--sans);
  147. font-weight: bold;
  148. color: var(--hitam-800);
  149. text-decoration: none;
  150. padding: 0 5px;
  151. }
  152. a.menux:hover {
  153. color: red;
  154. transition-property: color;
  155. transition-duration: .5s;
  156. }
  157. #navi {
  158. display: none;
  159. }
  160. p {
  161. margin: 0.5em auto 1em;
  162. text-indent: 2em;
  163. font:1.25em/1.5 var(--serif);
  164. letter-spacing:0;
  165. width:550px;
  166. color:var(--hitam-800);
  167. text-align: justify;
  168. }
  169. p::selection {
  170. color: #fffffc;
  171. background-color: #3d405b;
  172. }
  173. .caption__600 {
  174. font: .9em/1.5 var(--sans);
  175. width: 600px;
  176. color: var(--gray);
  177. text-align: center;
  178. margin-bottom: 3em;
  179. }
  180. h3 {
  181. font-size:22px;
  182. font-family:var(--sans);
  183. width:550px;
  184. margin:2.5em auto 1em;
  185. text-transform:uppercase;
  186. font-weight:800;
  187. letter-spacing:-.5px
  188. }
  189. .judul {
  190. text-align:center;
  191. font:3.5em/1 var(--serif);
  192. font-weight: bold;
  193. text-transform:none;
  194. width:700px!important;
  195. margin:1em auto .5em
  196. }
  197. .subtitle {
  198. font:1.15em/1.6 var(--sans);
  199. color:var(--gray);
  200. width:640px;
  201. text-align:center
  202. }
  203. a {
  204. text-decoration:underline;
  205. color:var(--merah)
  206. }
  207. a:hover {
  208. text-decoration:none
  209. }
  210. ol, ul {
  211. margin:1em auto;
  212. width:550px;
  213. margin-bottom: 1.5em;
  214. }
  215. li {
  216. font:1.25em/1.35 var(--serif);
  217. margin-bottom:10px;
  218. color:var(--hitam-teks)
  219. }
  220. ul {
  221. list-style-type: disc;
  222. }
  223. blockquote {
  224. width:650px;
  225. margin:1em auto;
  226. font:1.5em/1.6 var(--chunk);
  227. }
  228. blockquote:before {
  229. color:var(--gray);
  230. content:open-quote;
  231. font:1.6em var(--serif)
  232. }
  233. blockquote:after {
  234. color:var(--gray);
  235. content:close-quote;
  236. font:1.6em var(--serif)
  237. }
  238. pre {
  239. width: 550px;
  240. margin: 1.5em auto;
  241. border-top: 1px solid #b1a7a6;
  242. border-bottom: 1px solid #b1a7a6;
  243. padding: 14px 0;
  244. }
  245. pre code {
  246. font-family: Consolas, Courier New, monospace;
  247. font-size: 1.05em;
  248. }
  249. p code {
  250. font-family: Consolas, Courier New, monospace;
  251. font-size: 0.85em;
  252. padding: 2px 3px 2px 3px;
  253. color: #252422;
  254. background-color: #fffcf2;
  255. }
  256. hr::after {
  257. content: "\2042";
  258. font-size: 1em;
  259. color: var(--hitam-800);
  260. }
  261. hr {
  262. display: block;
  263. text-align: center;
  264. margin: 2em auto;
  265. width: 100%;
  266. border: none;
  267. }
  268. .buku {
  269. display: flex;
  270. flex-direction: row;
  271. align-items: flex-start;
  272. width: 600px;
  273. margin: 2em auto;
  274. padding: 1em 0 0 0;
  275. border-top: 1px solid #ccc;
  276. border-bottom: 1px solid #ccc;
  277. }
  278. .buku__cover {
  279. width: 18%;
  280. padding: 0 14px;
  281. }
  282. img.cover {
  283. width: 85px;
  284. height: 113px;
  285. border-radius: 0.35em;
  286. }
  287. .buku__info {
  288. width: 80%;
  289. margin-left: 1em;
  290. }
  291. .info__h4 {
  292. font: 1.1em/1.1 var(--sans);
  293. font-weight: 800;
  294. }
  295. .info__author {
  296. font: .9em/1 var(--sans);
  297. color: var(--gray);
  298. }
  299. .info__desc {
  300. width: 100%;
  301. padding: 0 10px 0 0;
  302. font: .9em/1.3 var(--sans);
  303. text-align: left;
  304. text-indent: 0;
  305. }
  306. .selayang {
  307. width: 600px;
  308. margin: 3em auto;
  309. background: rgb(248,248,238, 0.6);
  310. background: linear-gradient(to left, rgba(248,248,238, 1), rgba(248,248,238, 0));
  311. border-radius: 0.475em;
  312. display: flex;
  313. flex-direction: row;
  314. align-items: flex-start;
  315. }
  316. .selayang__cover {
  317. }
  318. img.layang {
  319. width: 250px;
  320. transform: rotate(-4deg);
  321. transition: transform .2s;
  322. box-shadow: rgba(0, 0, 0, 0.25) 1.95px 3px 3px;
  323. }
  324. .selayang__cover:hover img.layang {
  325. transform: rotate(0deg) scale(1.08);
  326. }
  327. .selayang__meta {
  328. width: 87%;
  329. margin-left: 1.2em;
  330. padding: 10px 12px 0;
  331. font: 0.9em/1 var(--sans);
  332. color: var(--hitam-800);
  333. }
  334. dt {
  335. font-weight: bold;
  336. line-height: 1.2;
  337. }
  338. dd {
  339. font-size: 15px;
  340. line-height: 1.2;
  341. margin-bottom: 0.6em;
  342. }
  343. .g__gals{
  344. width: 600px;
  345. margin: 1.5em auto;
  346. display: grid;
  347. grid-template-columns: 49% 49%;
  348. column-gap: 2%;
  349. }
  350. .gals__card {
  351. background: #f8f8ee;
  352. padding: 8px;
  353. border-radius: .3em;
  354. }
  355. .card__caption {
  356. font: .85em/1.6 var(--sans);
  357. width: auto;
  358. color: #6f6f72;
  359. }