-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (85 loc) · 1.7 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
html {
font-family: "Electrolize", serif;
font-size: 10px;
}
body {
margin: 0;
}
h1 {
text-align: center;
border-bottom: 2px solid black;
font-size: 3.5rem;
line-height: 150%;
margin: 1rem 0;
}
.container {
max-width: 650px;
width: 60%;
margin: 0 auto;
margin-top: 3em;
}
.container > p {
font-size: 2.5rem;
}
.form {
display: flex;
align-items: center;
flex-wrap: wrap;
column-gap: 2.5rem;
row-gap: 2rem;
padding-bottom: 2rem;
border-bottom: 1px dotted gray;
}
.form label {
font-size: 2.25rem;
}
.form input[type="number"] {
width: 15rem;
height: 2.5rem;
font-size: 1.5rem;
border-radius: 5px;
border: 1px solid rgb(167, 167, 167) ;
box-shadow: 0 2px 5px rgba(0,0,0,0.25);
padding-left: 5px;
}
.form input[type="number"]:focus,
.form input[type="number"] :focus-visible {
outline: 2px solid rgb(63, 141, 243);
}
.form input[type="submit"],.btn {
padding: 0.5em 0.75em;
font-size: 1.5rem;
border-radius: 5px;
border: 1px solid gray;
background-color: rgb(226, 221, 221);
box-shadow: 0 2px 10px -1px rgba(0,0,0,0.25);
cursor: pointer;
transition: all 0.15s ease;
}
.form input[type="submit"]:hover {
background-color: rgb(79, 79, 79);
color: whitesmoke;
}
.form input[type="submit"]:active {
box-shadow: none;
}
.resultParas p {
font-size: 2rem;
}
.lastResult {
display: inline-block;
color: white;
padding: 1rem;
margin: 0.5em 0;
}
.btn {
visibility: hidden;
}
@media (max-width: 700px) {
html {
font-size: 9px;
}
.container {
width: 80%;
}
}