-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.css
122 lines (106 loc) · 2.13 KB
/
base.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@layer reset {
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
block-size: 100%;
font-family: sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
}
ul[class] {
list-style: none;
margin: 0;
padding: 0;
}
}
@layer theme {
:root {
--brand-purple: rgb(149 5 205);
--brand-blue: rgb(67 0 179);
--brand-pink: rgb(237 0 143);
--brand-yellow: rgb(255 242 47);
--brand-dark: rgb(0 0 0);
--brand-light: rgb(255 255 255);
--gradient-purple-pink: linear-gradient(
38deg,
var(--brand-purple) 0%,
var(--brand-pink) 100%
);
--gradient-purple-pink-shorter: linear-gradient(
38deg in hsl shorter hue,
var(--brand-purple) 0%,
var(--brand-pink) 100%
);
--gradient-yellow-pink-shorter: linear-gradient(
38deg in hsl shorter hue,
var(--brand-yellow),
var(--brand-pink)
);
}
body {
background: var(--body-background, #fff);
color: var(--body-color, var(--brand-dark));
}
.card {
padding: 1rem;
border: 1px solid var(--card-primary-color, var(--brand-purple));
border-radius: 1rem;
}
.card :where(h1, h2, h3, h4, h5, h6) {
color: var(--card-header-color, rgba(35, 33, 21, 1));
}
.card img {
inline-size: 100%;
height: auto;
aspect-ratio: 16/9;
object-fit: contain;
background-color: var(--card-primary-color, var(--brand-pink));
}
.card-body {
color: var(--card-body-color, rgb(35 33 21 / 0.65));
line-height: 1.4;
}
.card-footer {
display: flex;
gap: 1rem;
}
.card-footer > * {
flex: 1;
}
.special {
background-color: purple;
}
.grid-container {
display: grid;
place-items: center;
}
.button {
display: flex;
justify-content: center;
padding: 0.5rem 1rem;
background: var(--button-background, var(--gradient-purple-pink));
border-radius: 4px;
color: #fff;
border: none;
font-size: 2rem;
cursor: pointer;
align-items: center;
}
.button.secondary {
background: #eee;
color: black;
}
.noto {
font-family: "Noto Emoji", sans-serif;
}
}