@htl-stp/core 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +18 -0
- package/style.css +160 -0
package/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@htl-stp/core",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Core CSS for all of 'HLTSTP, but better!'",
|
|
5
|
+
"main": "style.css",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/htl-stp/core.git"
|
|
9
|
+
},
|
|
10
|
+
"keywords": ["css","core","htlstp-but-better"],
|
|
11
|
+
"author": "daftvoid",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"type": "commonjs",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/htl-stp/core/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/htl-stp/core#readme"
|
|
18
|
+
}
|
package/style.css
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/* ========== Variables ========== */
|
|
2
|
+
:root {
|
|
3
|
+
--primary: #800bfa;
|
|
4
|
+
--bg: #131313;
|
|
5
|
+
--bg-light: #1a1a1a;
|
|
6
|
+
--muted: #444;
|
|
7
|
+
--text: #ddd;
|
|
8
|
+
--border: #eee;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* ========== Base ========== */
|
|
12
|
+
|
|
13
|
+
* {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
font-family: 'system-ui', sans-serif;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body, html {
|
|
21
|
+
height: 100vh;
|
|
22
|
+
width: 100vw;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
main {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
button {
|
|
32
|
+
font-size: 1.1rem;
|
|
33
|
+
border: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* ========== Layout ========== */
|
|
37
|
+
.container {
|
|
38
|
+
margin: 0 auto;
|
|
39
|
+
max-width: 1100px;
|
|
40
|
+
padding: 0 1rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.section-xl {
|
|
44
|
+
padding: 16rem 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.section {
|
|
48
|
+
padding: 4rem 0;
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.section-sm {
|
|
53
|
+
padding: 2rem 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.grid {
|
|
57
|
+
display: grid;
|
|
58
|
+
gap: 2rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.grid-3 {
|
|
62
|
+
grid-template-columns: repeat(3, 1fr);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.grid-2 {
|
|
66
|
+
grid-template-columns: repeat(2, 1fr);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.grid-span-2 {
|
|
70
|
+
grid-column: span 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.gap-xl { gap: 2rem;}
|
|
74
|
+
.gap-lg { gap: 1.5rem;}
|
|
75
|
+
.gap-md { gap: 1rem;}
|
|
76
|
+
|
|
77
|
+
@media (max-width: 800px) {
|
|
78
|
+
.grid-3 {
|
|
79
|
+
grid-template-columns: repeat(1, 1fr);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.grid-2 {
|
|
83
|
+
grid-template-columns: repeat(1, 1fr);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.grid-span-2 {
|
|
87
|
+
grid-column: span 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
input {
|
|
92
|
+
width: 100%;
|
|
93
|
+
padding: 0.6rem 0.6rem;
|
|
94
|
+
font-size: 1.1rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* ========== Typography ========== */
|
|
98
|
+
.text-center { text-align: center; }
|
|
99
|
+
.text-left { text-align: left; }
|
|
100
|
+
.text-right { text-align: right; }
|
|
101
|
+
|
|
102
|
+
.text-but-better {
|
|
103
|
+
font-family: "Dancing Script", cursive;
|
|
104
|
+
font-size: 1.2em;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.heading-xl { font-size: 2.5rem; margin-bottom: 1.5rem; }
|
|
108
|
+
.heading-lg { font-size: 2rem; margin-bottom: 1rem; }
|
|
109
|
+
.heading-md { font-size: 1.5rem; }
|
|
110
|
+
|
|
111
|
+
.text-muted {
|
|
112
|
+
font-style: italic;
|
|
113
|
+
color: var(--muted);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* ========== Buttons ========== */
|
|
117
|
+
.btn {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
padding: 0.75rem 1.5rem;
|
|
120
|
+
text-decoration: none;
|
|
121
|
+
border-radius: 8px;
|
|
122
|
+
font-weight: 500;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.btn-primary {
|
|
127
|
+
background-color: var(--primary);
|
|
128
|
+
color: var(--text);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.btn-outline {
|
|
132
|
+
border: 1px solid var(--primary);
|
|
133
|
+
color: var(--primary);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/* ========== Cards ========== */
|
|
138
|
+
.card {
|
|
139
|
+
padding: 1.5rem;
|
|
140
|
+
border: 1px solid var(--border);
|
|
141
|
+
border-radius: 8px;
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
align-items: center;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.card-title {
|
|
148
|
+
font-size: 1.55rem;
|
|
149
|
+
margin-bottom: 1rem;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/* ========== Spacing ========== */
|
|
154
|
+
.mt-sm { margin-top: 0.5rem; }
|
|
155
|
+
.mt-md { margin-top: 1rem; }
|
|
156
|
+
.mt-lg { margin-top: 2rem; }
|
|
157
|
+
|
|
158
|
+
.mb-sm { margin-bottom: 0.5rem; }
|
|
159
|
+
.mb-md { margin-bottom: 1rem; }
|
|
160
|
+
.mb-lg { margin-bottom: 2rem; }
|