-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (106 loc) · 2.21 KB
/
style.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
@charset "utf-8";
:root {
--ColorDefault1: #ffffff;
--ColorDefault2: #000000;
--ColorGray1: #808080;
--ColorPrimary1: #13122e;
--ColorPrimary2: #201f47;
--ColorPrimary3: #282566;
--ColorPrimary4: #040079;
--ColorSecondary1: #ffa500;
--ColorSecondary2: #ff6161;
}
* {
border: 0;
box-sizing: border-box;
font-family: sans-serif;
font-size: 16px;
gap: 1rem;
margin: 0;
padding: 0;
outline: 0;
user-select: none;
}
body {
background: linear-gradient(130deg,
var(--ColorPrimary1),
var(--ColorPrimary2),
var(--ColorPrimary4))fixed;
color: var(--ColorDefault1);
}
.main-content {
align-items: center;
display: flex;
justify-content: center;
min-height: 100vh;
}
.body-calculator {
display: grid;
gap: 2rem;
padding: 1rem;
}
.container-panel {
display: grid;
justify-items: center;
}
.panel-output-historic {
color: var(--ColorGray1);
font-size: 1.5rem;
height: 2rem;
}
.panel-output-main {
font-size: 2.5rem;
height: 2.5rem;
transition-duration: 0.1s;
letter-spacing: 0.2rem;
}
.container-keyboard {
display: grid;
grid-template-areas:
'kb-config kb-config kb-config'
'kb-numbers kb-numbers kb-symbols'
'kb-numbers kb-numbers kb-symbols'
;
width: 244px;
margin: 0 auto;
}
.keyboard-config {
display: grid;
grid-area: kb-config;
grid-template-columns: auto auto auto;
justify-items: center;
}
.keyboard-numbers {
display: grid;
grid-template-columns: auto auto auto;
grid-area: kb-numbers;
}
.keyboard-symbols {
display: grid;
grid-area: kb-symbols;
}
.keyboard-config .btn-default {
color: var(--ColorSecondary2);
font-size: 1rem;
}
.keyboard-symbols .btn-default {
color: var(--ColorSecondary1);
}
.btn-default {
background-color: transparent;
border-radius: 0.5rem;
color: var(--ColorDefault1);
font-size: 1.2rem;
font-weight: bold;
min-height: 3rem;
transition-duration: 0.2s;
width: 3rem;
}
.btn-default:hover {
background-color: var(--ColorPrimary3);
}
@media (max-width: 244px) {
* {
font-size: clamp(8px, 12px + 0.5vw, 16px);
}
}