|
1 | 1 | @use 'core/core';
|
2 | 2 |
|
3 | 3 | body {
|
| 4 | + font-size: 100%; |
| 5 | + font-family: core.$font-sample; |
| 6 | + margin: 0; |
| 7 | + background-image: core.$gradient-bg; |
4 | 8 | background-color: core.$color-bg;
|
5 |
| - color: core.$color-correct-blue; |
6 |
| - font-size: core.rem(20); |
| 9 | +} |
| 10 | + |
| 11 | +.page { |
| 12 | + display: grid; |
| 13 | + grid-template-rows: 1fr auto; |
| 14 | + min-height: 100vh; |
| 15 | + min-height: 100dvh; |
| 16 | +} |
| 17 | + |
| 18 | + |
| 19 | + |
7 | 20 |
|
8 |
| - @include core.mq(600) { |
9 |
| - color: black; |
| 21 | + |
| 22 | +/* HERO */ |
| 23 | +.hero { |
| 24 | + height: 100%; |
| 25 | + padding: core.em(50); |
| 26 | + box-sizing: border-box; |
| 27 | + |
| 28 | + .wrapper { |
| 29 | + display: flex; |
| 30 | + justify-content: center; |
| 31 | + align-items: center; |
| 32 | + height: 100%; |
10 | 33 | }
|
11 | 34 | }
|
12 | 35 |
|
13 |
| -@include core.mq(600) { |
14 |
| - p { |
15 |
| - border: 1px solid orange; |
16 |
| - color: blue; |
| 36 | +.hero__asteroids { |
| 37 | + font-size: clamp(.875rem, .7917rem + .4167vw, 1.125rem); |
| 38 | + // font-size: core.rem(14); |
| 39 | + |
| 40 | + // @include core.mq(650) { |
| 41 | + // font-size: core.rem(18); |
| 42 | + // } |
| 43 | +} |
| 44 | + |
| 45 | +.hero__asteroids-title { |
| 46 | + font-size: core.em(55); |
| 47 | + margin: 0; |
| 48 | + |
| 49 | + &::before { |
| 50 | + content: ''; |
| 51 | + width: core.em(250, 55); |
| 52 | + height: core.em(250, 55); |
| 53 | + background: core.img('hero/asteroids.png') left top no-repeat; |
| 54 | + background-size: cover; |
| 55 | + display: block; |
| 56 | + border-radius: 50%; |
| 57 | + margin: 0 auto; |
17 | 58 | }
|
18 | 59 | }
|
| 60 | + |
| 61 | +.hero__asteroids-title-main { |
| 62 | + color: core.$color-space-green; |
| 63 | + font-family: core.$font-asteroids; |
| 64 | +} |
| 65 | + |
| 66 | +.hero__asteroids-by { |
| 67 | + color: core.$color-space-light-green; |
| 68 | + font-weight: 300; |
| 69 | + display: block; |
| 70 | + text-align: right; |
| 71 | + font-size: 30%; |
| 72 | + margin-top: -1.5em; |
| 73 | +} |
| 74 | + |
| 75 | +.hero__asteroids-version {} |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | +/* FOOTER */ |
| 82 | +.footer { |
| 83 | + color: white; |
| 84 | + line-height: core.rem(30); |
| 85 | + @include core.mq(650) { |
| 86 | + justify-content: center; |
| 87 | + display: flex; |
| 88 | + |
| 89 | + } |
| 90 | +} |
| 91 | + |
| 92 | +.footer__items { |
| 93 | + background-color: core.$color-space-green; |
| 94 | + padding: core.rem(15) core.rem(30); |
| 95 | + margin: 0; |
| 96 | + list-style: none; |
| 97 | + text-align: center; |
| 98 | + |
| 99 | + @include core.mq(650) { |
| 100 | + display: flex; |
| 101 | + justify-content: center; |
| 102 | + width: auto; |
| 103 | + } |
| 104 | +} |
| 105 | + |
| 106 | +.footer__item { |
| 107 | + & + .footer__item { |
| 108 | + &::before { |
| 109 | + content: '|'; |
| 110 | + margin: 0 .5em; |
| 111 | + } |
| 112 | + } |
| 113 | +} |
| 114 | + |
| 115 | +.footer__link { |
| 116 | + text-decoration: none; |
| 117 | + color: core.$color-space-extra-light-green; |
| 118 | +} |
| 119 | + |
| 120 | +.footer__license { |
| 121 | + display: flex; |
| 122 | + justify-content: center; |
| 123 | + align-items: center; |
| 124 | + gap: .15em; |
| 125 | +} |
| 126 | + |
| 127 | +.footer__license-cc, |
| 128 | +.footer__license-zero { |
| 129 | + height: core.rem(1); |
| 130 | + padding-top: core.rem(15); |
| 131 | + width: core.rem(16); |
| 132 | + display: inline-block; |
| 133 | + background: core.img('icons/cc-logo.svg') left top no-repeat; |
| 134 | + background-size: 100% auto; |
| 135 | + overflow: hidden; |
| 136 | + vertical-align: middle; |
| 137 | +} |
| 138 | + |
| 139 | +.footer__license-zero { |
| 140 | + background-image: core.img('icons/cc-zero.svg'); |
| 141 | + margin-left: .15em; |
| 142 | +} |
| 143 | + |
| 144 | +.footer__year { |
| 145 | + margin-left: .15em; |
| 146 | +} |
| 147 | + |
| 148 | +.footer__link {} |
| 149 | + |
| 150 | + |
0 commit comments