-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc.css
128 lines (100 loc) · 1.8 KB
/
calc.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
/* HTML ELEMENTS */
/* MAIN */
/* miękkie przewijanie strony podczas przeskoku z linków wewnętrznych */
html {
scroll-behavior: smooth;
}
body {
background-color: #eae7dc;
color: #000B29;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
line-height: 1.6;
margin: 0;
text-align: center;
}
button {
font-family: 'Montserrat', sans-serif;
background-color: rgb(128, 222, 173);
min-width: fit-content;
border: solid 1px rgb(91, 158, 123);
padding: 0.5rem 1rem;
margin: 0.5rem;
border-radius: 15px;
}
button:hover {
background-color: rgb(91, 158, 123);
}
button.reset {
background-color: rgb(244, 164, 45);
border-color: rgb(201, 132, 28);
}
button.reset:hover {
background-color: rgb(201, 132, 28);
}
input {
font-family: 'Montserrat', sans-serif;
padding: 0.5rem 1rem;
margin: 0.8rem;
border-radius: 15px;
}
input[type=number] {
min-width: 18%;
display: inline-flex;
flex-direction: column;
font-size: 1rem;
}
label.number{
display: inline-flex;
flex-direction: column;
font-size: 0.8rem;
}
table {
width: 100%;
border: solid black 1px;
border-collapse: collapse;
margin: 1rem auto;
}
td {
padding: 0.5rem;
}
th {
padding: 0.5rem;
}
tr {
border: solid black 1px;
}
/* REMAINING */
a {
text-decoration: none;
}
h1 {
padding: 2rem 0 1rem;
text-align: center;
}
/* IDS */
#main {
font-family: 'Montserrat', sans-serif;
display: inline-block;
background-color: #bfbdb0;
border-radius: 20px;
width: 80vw;
padding: 2rem 0;
}
/* CLASSES */
.row {
margin: 1rem auto;
}
.comp_sum {
font-weight: 700;
}
/* MEDIA */
/* mobile first */
@media screen and (min-width: 550px) {
}
@media screen and (min-width: 550px) and (max-width: 800px) {
}
@media screen and (min-width: 800px) {
}
@media screen and (min-width: 1500px) {
}