-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
208 lines (165 loc) · 3.41 KB
/
styles.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
background: url('./assets/whi.svg') no-repeat center center/ cover;
font-family: 'Lato', sans-serif;
}
#page-wrapper {
min-height: 90vh;
margin: 2rem;
}
ul {
list-style: none;
}
a {
text-decoration: none;
}
header {
min-height: 5vh;
width: 100%;
background: black;
padding: 1rem 1.25rem;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
}
header nav h3 a{
padding: 0.5rem 0.75rem;
color: #fff;
}
header nav h3 a:hover {
background: white;
color: #000;
border-radius: 0.5rem;
}
/* MAIN SECTION */
.main {
max-width: 100%;
min-height: 75vh;
padding: 1rem 2rem;
background: url('./assets/yellow.svg') no-repeat center center/ cover;
}
.main.profit-loss-theme {
background: url('./assets/yellow.svg') no-repeat center center/ cover;
}
.main.profit-theme {
background-image: url('https://media.giphy.com/media/uDUwRuxJIE973oAmZI/giphy.gif'), url('./assets/green.svg');
background-repeat: no-repeat,
no-repeat;
background-position: bottom right,
center center;
background-size: contain,
cover;
color: #fff;
}
.main.loss-theme {
background-image: url('https://i.pinimg.com/originals/91/95/f4/9195f4dd1b69f90038f627c8af422429.gif'), url('./assets/red.svg');
background-repeat: no-repeat,
no-repeat;
background-position: center center,
center center;
background-size: cover,
cover;
color: #fff;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.container h1 {
font-size: 2rem;
margin: 1rem auto;
}
label, input[type="number"] {
display: block;
}
label {
font-size: 1.2rem;
font-weight: bold;
}
input[type="number"] {
max-width: 200px;
margin: 0.5rem auto 1rem auto;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
outline: none;
border: none;
font-size: 1.1rem;
}
.btn-check {
display: block;
max-width: 200px;
margin: 1.5rem auto 0.5rem auto;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
outline: none;
border: none;
font-size: 1.2rem;
background-color: #000;
color: #fff;
}
.main.loss-theme .message {
border: 2px solid #fff;
background-color: #aa0000;
}
.main.profit-theme .message {
border: 2px solid #fff;
background-color: #113311;
}
.message {
border: 2px solid #000;
padding: 1rem;
margin: 1rem auto;
}
.display-none {
display: none;
}
/* FOOTER */
footer {
width: 100%;
background: black;
}
footer ul.social-links {
width: 100%;
min-height: 5vh;
text-align: center;
}
.social-links li {
margin: 1rem 2rem;
display: inline-block;
}
.social-links li a {
padding: 0.5rem 0.75rem;
color: #fff;
}
.social-links li a:hover {
background: white;
color: #000;
border-radius: 0.5rem;
}
i.fab {
margin-right: 0.25rem;
}
@media screen and (max-width: 500px) {
#page-wrapper {
margin: 0;
background-color: #000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
header {
padding: 1rem;
}
}