coyotte508 HF staff commited on
Commit
e88bf38
β€’
1 Parent(s): c697336

πŸ’„ Add some CSS :)

Browse files
Files changed (1) hide show
  1. src/routes/+layout.svelte +109 -1
src/routes/+layout.svelte CHANGED
@@ -6,6 +6,114 @@
6
 
7
  <slot></slot>
8
 
9
- <style>
 
 
 
 
 
 
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  </style>
 
6
 
7
  <slot></slot>
8
 
9
+ <style global>
10
+ body, html {
11
+ margin: 0;
12
+ padding: 0;
13
+ height: 100%;
14
+ font-family: "Gotham", sans-serif;
15
+ scroll-behavior: smooth;
16
 
17
+ --sunray: #d3a95a;
18
+ }
19
+
20
+ body {
21
+ display: grid;
22
+ grid-template-rows: min-content 1fr min-content;
23
+ }
24
+
25
+ a {
26
+ color: unset;
27
+ text-decoration: none;
28
+ }
29
+
30
+ h1, h2, h3{
31
+ font-family: "RiotSquad", serif;
32
+ margin: 0
33
+ }
34
+
35
+ nav {
36
+ font-family: "Aileron", sans-serif;
37
+ margin: 0
38
+ }
39
+
40
+ ol, ul {
41
+ padding: 0;
42
+ margin: 0;
43
+ }
44
+
45
+ li {
46
+ list-style-type: none;
47
+ }
48
+
49
+ @font-face {
50
+ font-family: "Aileron";
51
+ src: url(/Ailerons-Typeface.otf) format("opentype");
52
+ }
53
+
54
+ @font-face {
55
+ font-family: "RiotSquad";
56
+ src: url("/RIOTSQUA.ttf") format("truetype");
57
+ font-weight: normal;
58
+ font-style: normal;
59
+ }
60
+
61
+ /*
62
+ @font-face {
63
+ font-family: "Raleway";
64
+ src: url(/Raleway-VariableFont_wght.ttf) format("truetype");
65
+ }
66
+
67
+ @font-face {
68
+ font-family: "Raleway";
69
+ font-style: italic;
70
+ src: url(/Raleway-Italic-VariableFont_wght.ttf) format("truetype");
71
+ }
72
+ */
73
+
74
+ @font-face {
75
+ font-family: "Gotham";
76
+ font-weight: 400;
77
+ src: url(/GothamBook.ttf) format("truetype");
78
+ }
79
+
80
+ @font-face {
81
+ font-family: "Gotham";
82
+ font-weight: 700;
83
+ src: url(/GothamBold.ttf) format("truetype");
84
+ }
85
+
86
+ .drop-white {
87
+ filter: drop-shadow(2px 2px 2px white)
88
+ }
89
+
90
+ .marked ul li {
91
+ margin-left: 1.5rem;
92
+ list-style-type: disc;
93
+ }
94
+
95
+ .h-full-without-banner {
96
+ height: calc(100vh - 1rem - (14rem / 4))
97
+ }
98
+
99
+ @media (min-width: 640px) {
100
+ .h-full-without-banner {
101
+ height: calc(100vh - 1rem - (18rem / 4))
102
+ }
103
+ }
104
+ @media (min-width: 768px) {
105
+ .h-full-without-banner {
106
+ height: calc(100vh - 1rem - (24rem / 4))
107
+ }
108
+ }
109
+ @media (min-width: 1024px) {
110
+ .h-full-without-banner {
111
+ height: calc(100vh - 1rem - (32rem / 4))
112
+ }
113
+ }
114
+
115
+ /*
116
+ @media (min-width: 1280px) { ... }
117
+ @media (min-width: 1536px) { ... }
118
+ */
119
  </style>