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}
89
90.centered {
91 margin-left: auto;
92 margin-right: auto;
93}
94
95.btn {
96 display: inline-block;
97 font-weight: 400;
98 text-align: center;
99 white-space: nowrap;
100 vertical-align: middle;
101 user-select: none;
102 border: 1px solid transparent;
103 padding: 0.375rem 0.75rem;
104 font-size: 1rem;
105 line-height: 1.5;
106 border-radius: 0.25rem;
107 transition:
108 color 0.15s ease-in-out,
109 background-color 0.15s ease-in-out,
110 border-color 0.15s ease-in-out,
111 box-shadow 0.15s ease-in-out;
112 cursor: pointer;
113}
114
115.btn-primary {
116 color: #fff;
117 background-color: #007bff;
118 border-color: #007bff;
119}
120
121.btn-primary:hover {
122 color: #fff;
123 background-color: #0069d9;
124 border-color: #0062cc;
125}
126
127.card {
128 position: relative;
129 display: flex;
130 flex-direction: column;
131 min-width: 0;
132 word-wrap: break-word;
133 background-color: #1c1c1c;
134 background-clip: border-box;
135 border: 1px solid rgba(255, 255, 255, 0.125);
136 border-radius: 0.25rem;
137 margin-bottom: 1rem;
138}
139
140.card-body {
141 flex: 1 1 auto;
142 padding: 1.25rem;
143 min-width: 250px;
144}
145
146.card-body > ul {
147 list-style-type: none;
148 padding-left: 0;
149}
150
151.card-body > ul > li {
152 display: flex;
153 justify-content: space-between;
154 align-items: center;
155}
156
157.card-title {
158 margin-bottom: 0.75rem;
159 margin-top: 0;
160 font-size: 1.25rem;
161}
162
163footer {
164 margin-top: 3rem;
165 padding: 1rem 0;
166 font-size: 0.875rem;
167 color: #6c757d;
168 text-align: center;
169}
170
171footer a {
172 color: #007bff;
173 text-decoration: none;
174}
175
176footer a:hover {
177 text-decoration: underline;
178}
179
180.positive {
181 color: green;
182}
183
184.negative {
185 color: red;
186}