src/index.css (view raw)
1/* src/index.css */
2:root {
3 font-family:
4 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
5 "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
6 sans-serif;
7 font-size: 16px;
8 line-height: 24px;
9 font-weight: 400;
10
11 color-scheme: dark;
12 color: rgba(255, 255, 255, 0.95);
13 background-color: #000000;
14
15 font-synthesis: none;
16 text-rendering: optimizeLegibility;
17 -webkit-font-smoothing: antialiased;
18 -moz-osx-font-smoothing: grayscale;
19 -webkit-text-size-adjust: 100%;
20}
21
22body {
23 margin: 0;
24 min-height: 100vh;
25}
26
27.container {
28 max-width: 1200px;
29 margin: 0 auto;
30 padding: 2rem;
31}
32
33.row {
34 display: flex;
35 flex-wrap: wrap;
36 margin: 0 -15px;
37 justify-content: space-evenly;
38}
39
40.col {
41 flex: 1;
42 padding: 0 15px;
43}
44
45hr {
46 border: 0;
47 height: 1px;
48 background-color: rgba(255, 255, 255, 0.2);
49 margin: 1.5rem 0;
50}
51
52.form-control {
53 display: block;
54 width: 100%;
55 padding: 0.375rem 0.75rem;
56 font-size: 1rem;
57 line-height: 1.5;
58 color: white;
59 background-color: #1c1c1c;
60 background-clip: padding-box;
61 border: 1px solid #333;
62 border-radius: 0.25rem;
63 transition:
64 border-color 0.15s ease-in-out,
65 box-shadow 0.15s ease-in-out;
66 margin-bottom: 10px;
67}
68
69.form-control:focus {
70 color: white;
71 background-color: #1c1c1c;
72 border-color: #007bff;
73 outline: 0;
74 box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
75}
76
77.inline-input {
78 display: inline-block;
79 width: auto;
80}
81
82.text-center {
83 text-align: center;
84}
85
86.header > h1 {
87 margin-bottom: 3rem;
88 line-height: 2.5rem;
89}
90
91.centered {
92 margin-left: auto;
93 margin-right: auto;
94}
95
96.btn {
97 display: inline-block;
98 font-weight: 400;
99 text-align: center;
100 white-space: nowrap;
101 vertical-align: middle;
102 user-select: none;
103 border: 1px solid transparent;
104 padding: 0.375rem 0.75rem;
105 font-size: 1rem;
106 line-height: 1.5;
107 border-radius: 0.25rem;
108 transition:
109 color 0.15s ease-in-out,
110 background-color 0.15s ease-in-out,
111 border-color 0.15s ease-in-out,
112 box-shadow 0.15s ease-in-out;
113 cursor: pointer;
114}
115
116.btn-primary {
117 color: #fff;
118 background-color: #007bff;
119 border-color: #007bff;
120}
121
122.btn-primary:hover {
123 color: #fff;
124 background-color: #0069d9;
125 border-color: #0062cc;
126}
127
128.card {
129 position: relative;
130 display: flex;
131 flex-direction: column;
132 min-width: 0;
133 word-wrap: break-word;
134 background-color: #1c1c1c;
135 background-clip: border-box;
136 border: 1px solid rgba(255, 255, 255, 0.125);
137 border-radius: 0.25rem;
138 margin-bottom: 1rem;
139}
140
141.card-body {
142 flex: 1 1 auto;
143 padding: 1.25rem;
144 min-width: 250px;
145}
146
147.card-body > ul {
148 list-style-type: none;
149 padding-left: 0;
150}
151
152.card-body > ul > li {
153 display: flex;
154 justify-content: space-between;
155 align-items: center;
156}
157
158.card-title {
159 margin-bottom: 0.75rem;
160 margin-top: 0;
161 font-size: 1.25rem;
162}
163
164label {
165 white-space: nowrap;
166}
167
168footer {
169 margin-top: 3rem;
170 padding: 1rem 0;
171 font-size: 0.875rem;
172 color: #6c757d;
173 text-align: center;
174}
175
176footer a {
177 color: #007bff;
178 text-decoration: none;
179}
180
181footer a:hover {
182 text-decoration: underline;
183}
184
185.positive {
186 color: green;
187}
188
189.negative {
190 color: red;
191}