-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (76 loc) · 1.67 KB
/
style.css
File metadata and controls
95 lines (76 loc) · 1.67 KB
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
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300&display=swap');
* {
font-family: 'Nunito Sans', sans-serif;
color: cornsilk;
}
body {
background: #0f0c29; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #24243e, #302b63, #0f0c29); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}
.container {
display: block;
min-width: 30vw;
max-width: 50vw;
min-height: 30vh;
max-height: 70vh;
height: auto;
margin: auto;
font-size: 2.5vw;
}
input[type="number"] {
border: none;
border-bottom: 1px solid #CCC;
background: none;
text-align: center;
font-size: 2.5vw;
}
input[type="number"]:focus {
outline: none;
}
.options {
display: flex;
flex-direction: column;
justify-content: center;
margin: 2rem;
text-align: center;
}
.option {
margin: 1rem;
}
#title {
display: flex;
justify-content: center;
font-size: 5rem;
font-weight: bold;
border-bottom: 5px solid #CCC;
margin: 0;
padding: 1vh;
}
button {
margin: 1rem;
background-color: cornsilk;
border-radius: 0.8rem;
color: black;
font-weight: bold;
border: none;
cursor: pointer;
padding: 0.5rem 1.5rem;
width: 10rem;
height: 3rem;
font-size: 1.5rem;
}
#result {
display: flex;
justify-content: center;
margin: auto 0;
font-size: 6vw;
}
#btn-row {
display: block;
margin: auto;
}