-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
76 lines (72 loc) · 1.29 KB
/
style.scss
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
$background: #1d2d50;
$bg: #1b2a4b;
$accent: #fcdab7;
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
background-color: $background;
}
button,
a,
select,
option {
font-family: 'Poppins', sans-serif;
border: 0;
outline: 0;
cursor: pointer;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Poppins', sans-serif;
color: white;
}
.container {
display: grid;
//flex-direction: column;
//justify-content: center;
align-items: center;
justify-content: center;
grid-template-columns: 1fr;
grid-gap: 30px;
max-width: 450px;
width: 100%;
background: $bg;
padding: 1rem 2rem;
}
#logo {
justify-self: center;
}
select {
padding: 0.5rem 1rem;
background: $accent;
}
button#call {
padding: 0.5rem 1rem;
text-transform: uppercase;
font-weight: 600;
background: $accent;
transition: background 0.1s;
&.clicked {
background: rgba($color: $accent, $alpha: 0.8);
}
}
.field {
display: flex;
justify-content: space-between;
}
#hChange,
#dChange {
&.plus {
color: green;
}
&.minus {
color: red;
}
}