-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobals.css
70 lines (61 loc) · 1.25 KB
/
globals.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--blue: #000aff;
--yellow: #ffe713;
--dark: #00010f;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-weight: 500;
color: var(--dark);
-webkit-tap-highlight-color: transparent;
}
a {
color: inherit;
text-decoration: none;
}
.triangle {
width: 0;
height: 0;
border-bottom: 64px var(--blue) solid;
border-left: 78px var(--dark) solid;
position: relative;
}
.triangle::before {
content: '';
position: absolute;
top: 0;
right: 0;
z-index: -1;
width: 0;
height: 0;
border-bottom: 64px var(--blue) solid;
border-left: 78px transparent solid;
opacity: 0.08;
transform-origin: 0 0;
transform: rotate(10deg);
}
@screen small-phone {
.triangle {
border-bottom: 96px var(--blue) solid;
border-left: 112px var(--dark) solid;
}
.triangle::before {
border-bottom: 96px var(--blue) solid;
border-left: 112px transparent solid;
}
}
.effect {
-webkit-text-fill-color: white;
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: var(--dark);
}