-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (85 loc) · 2 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
/* general styling */
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
opacity: 1;
background: radial-gradient(circle, transparent 20%, #F2F2F2 20%, #F2F2F2 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #F2F2F2 20%, #F2F2F2 80%, transparent 80%, transparent) 22.5px 22.5px, linear-gradient(#764248 1.8px, transparent 1.8px) 0 -0.9px, linear-gradient(90deg, #764248 1.8px, #F2F2F2 1.8px) -0.9px 0;
background-size: 45px 45px, 45px 45px, 22.5px 22.5px, 22.5px 22.5px;
}
.container {
margin: 0 auto;
margin-bottom: 20px;
background-color: #FFCF00;
padding: 20px;
border-radius: 10px;
-webkit-box-shadow: 16px 16px 0px 0px rgba(238, 97, 35, 1);
-moz-box-shadow: 16px 16px 0px 0px rgba(238, 97, 35, 1);
box-shadow: 16px 16px 0px 0px rgba(238, 97, 35, 1);
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-between;
width: 60%;
}
.firstUnit,
.secondUnit {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
h1 {
text-align: center;
margin-top: 50px;
color: #00916E;
font-weight: bold;
font-size: 50px;
margin: 0 auto;
}
h1.title {
color: #FFCF00;
font-size: 80px;
text-shadow: 3px 3px rgba(238, 97, 35, 1);
padding-bottom: 20px;
}
/* form styling */
.form {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 0 auto;
color: #764248;
font-weight: bold;
}
label {
margin-right: 10px;
}
input[type="number"] {
padding: 5px;
border-radius: 5px;
border: none;
margin: 10px;
}
select {
padding: 5px;
border-radius: 5px;
border: none;
margin-right: 10px;
}
span {
margin-right: 10px;
}
input[type="text"] {
padding: 5px;
border-radius: 5px;
border: none;
font-weight: bold;
margin: 10px;
}
input#result {
color: #00916E;
background: #FFE77C;
margin-right: 10px;
}
/* mobile styling */