|
1 | 1 | @charset "utf-8"; |
2 | 2 |
|
3 | | -@import "../node_modules/bulma/sass/utilities/initial-variables"; |
4 | | - |
5 | 3 | $sepia: #ffeacb; |
6 | | -$body-background-color: $sepia; |
7 | | - |
8 | | -@import "../node_modules/bulma/bulma"; |
9 | | - |
10 | | -html { |
11 | | -} |
| 4 | +$burnt: #ff6600; |
| 5 | +$bluish: #000088; |
| 6 | + |
| 7 | +@use "../node_modules/bulma/sass" with ( |
| 8 | + $link: $bluish, |
| 9 | + $primary: $burnt, |
| 10 | + $body-background-color: $sepia, |
| 11 | + $size-1: 4rem, |
| 12 | + $size-2: 1.3rem, |
| 13 | + $size-3: 1.15rem, |
| 14 | + $size-4: 1.05rem, |
| 15 | + $size-5: 1.025rem, |
| 16 | +); |
12 | 17 |
|
13 | 18 | p, pre.sample, div.sample { |
14 | | - margin-bottom: 1em; |
15 | | -} |
16 | | - |
17 | | -pre.sample { |
| 19 | + margin-bottom: 1.2rem; |
18 | 20 | tab-size: 2; |
19 | 21 | } |
20 | 22 |
|
21 | | -h2 { |
22 | | - font-size: 1.2em; |
23 | | - font-weight: bold; |
24 | | - margin: 1em 0 .2em 0; |
| 23 | +h2:not(.title) { |
| 24 | + font-size: var(--bulma-size-3); |
| 25 | + font-weight: var(--bulma-weight-extrabold); |
25 | 26 | } |
26 | 27 |
|
27 | 28 | .navbar { |
28 | | - background: none; |
| 29 | + background-color: transparent; |
29 | 30 | padding: 1em 2em 0 2em; |
30 | 31 | font-style: italic; |
31 | 32 | font-family: serif; |
32 | 33 |
|
33 | 34 | a { |
34 | | - font-size: 4rem; |
35 | | - color: #000; |
36 | 35 | font-variant: small-caps; |
37 | 36 | text-shadow: .05em .05em .1em #aaa; |
38 | 37 | filter: drop-shadow(-0.02em -0.02em 0 #fff) drop-shadow(-0.02em -0.02em 0 #006); |
39 | 38 | } |
40 | | - |
41 | 39 | } |
42 | 40 |
|
43 | 41 | .menu-list a, |
44 | 42 | a { |
45 | | - color: #006; |
| 43 | + color: var(--bulma-link-text); |
46 | 44 |
|
47 | | - :hover { |
48 | | - color: #f00; |
| 45 | + &:hover { |
| 46 | + color: var(--bulma-primary-30); |
49 | 47 | } |
50 | | - |
51 | 48 | } |
52 | 49 |
|
53 | 50 | .menu-list { |
54 | | - |
55 | | - font-weight: bold; |
56 | | - |
57 | | - a:hover { |
58 | | - background: none; |
59 | | - } |
60 | | - |
61 | | - a[href^="http"]::after, |
62 | | - a[href^="https://"]::after { |
63 | | - content: ""; |
64 | | - width: .6em; |
65 | | - height: .6em; |
66 | | - margin-left: .4em; |
67 | | - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); |
68 | | - background-position: center; |
69 | | - background-repeat: no-repeat; |
70 | | - background-size: contain; |
71 | | - display: inline-block; |
| 51 | + a { |
| 52 | + background-color: transparent; |
| 53 | + font-weight: bold; |
| 54 | + |
| 55 | + &[href^="http://"]::after, |
| 56 | + &[href^="https://"]::after { |
| 57 | + content: ""; |
| 58 | + width: .6em; |
| 59 | + height: .6em; |
| 60 | + margin-left: .4em; |
| 61 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); |
| 62 | + background-position: center; |
| 63 | + background-repeat: no-repeat; |
| 64 | + background-size: contain; |
| 65 | + display: inline-block; |
| 66 | + } |
72 | 67 | } |
73 | | - |
74 | 68 | } |
75 | 69 |
|
76 | 70 | .card { |
|
0 commit comments