-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
147 lines (132 loc) · 2.76 KB
/
index.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* Reset default margin and padding for all elements */
* {
margin: 0%;
padding: 0%;
}
/* Styles for the entire page */
body {
height: 100%;
width: 100%;
align-items: center;
justify-content: center;
}
/* Button styles for the calculate button */
#calc {
height: 50px;
width: 200px;
align-self: center;
border: none;
border-radius: 9999px;
background-color: #7D0A0A;
color: #EAD196;
font-size: 25px;
}
/* Container styles for the main content */
#con {
position: relative;
left: 20%;
margin-top: 5%;
padding: 5%;
height: 22rem;
width: 50rem;
display: flex;
flex-direction: column;
border: 5px;
border-radius: 5%;
background-color:#F3EDC8;
color:#7D0A0A;
}
/* Paragraph styles */
p {
font-size: 2em;
margin: 2%;
}
/* Heading styles */
h1 {
text-align: center;
text-decoration: underline;
text-decoration-color:#7D0A0A;
margin-bottom: 3%;
color:#7D0A0A;
font-size: 3em;
}
/* Input field styles */
input {
height: 2em;
border: none;
border-radius: 0px;
color: #7D0A0A;
background-color:white;
}
/* Header styles */
header {
display: flex;
justify-content: right;
align-items: center;
height: fit-content;
padding: 5px;
}
/* Toggle button styles */
#toggle {
justify-content: center;
align-items: center;
display: flex;
height: 40px;
width: 90px;
background-color: transparent;
border-radius: 9999px;
border: none;
}
/* Styles for the left part of the toggle button */
.outer--left {
height: 40px;
width: 90px;
background-color: #7D0A0A;
border-radius: 9999px;
border: none;
align-items: center;
justify-content: left;
display: flex;
}
/* Styles for the inner circle of the toggle button */
.inner--left {
height: 30px;
width: 30px;
background-color: #F3EDC8;
border-radius: 50%;
border: none;
margin: 5px;
}
/* Container styles for additional content (hidden initially) */
#cone {
position: relative;
left: 20%;
margin-top: 5%;
padding: 5%;
height: 0px;
width: 0px;
flex-direction: column;
border: 5px;
border-radius: 5%;
background-color: #F3EDC8;
color: #7D0A0A;
visibility: hidden;
display: none;
}
/* Styles for the result paragraph */
#RESULT {
text-align: center;
text-decoration: none;
font-size: 4em;
}
/* Styles for the reset button */
#reset {
height: 50px;
width: 200px;
align-self: center;
border: none;
border-radius: 9999px;
background-color: #7D0A0A;
color:#F3EDC8;
font-size: 25px;
}