-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainStyle.css
181 lines (155 loc) · 3.42 KB
/
mainStyle.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
body {
background-color: #fff;
font-family: fantasy;
color: #0a323c;
margin: 0px;
padding: 0px;
width: 600px;
height: 400px;
}
div#mainBody{
margin: 0;
padding: 0;
width: 100%;
height: 100%;
position: relative;
float: left;
background-color: #fff;
}
div#header{
background-color: white;
font-size: 24px;
position: relative;
margin-top: 10;
margin-bottom: 10;
float: left;
width: 100%;
height: 50px;
display: flex;
align-items: center; /* Vertically center items */
/*justify-content: center;*/ /* Horizontally center items */
}
div#header .titleLogo{
padding: 0;
margin: 0;
width: 30%;
font-family: fantasy;
background-color: #d4fd00;
color: #0a323c;
border-radius: 15px 30px 15px 30px;
text-align: center;
display: inline-block;
vertical-align: middle;
line-height: 50px; /*same as container */
}
div#header .titlePage{
padding: 0;
margin: 0;
width: 70%;
text-align: center;
font-family: fantasy;
line-height: 50px; /*same as container */
}
div#layoutNavigation{
background-color: #0a323c;
width: 30%;
height: 350px;
position: relative;
float: left;
border-radius: 0px 30px 30px 0px;
}
div#layoutNavigation div.Logo{
position: relative;
width: 100%;
height: 150px;
text-align: center;
display: inline-block;
vertical-align: middle;
}
div#layoutNavigation div.Logo img{
width: 120px;
height: 120px;
margin-top: 10px;
}
div#layoutNavigation div.navigationBar{
position: relative;
width: 100%;
height: 200px;
text-align: center;
display: inline-block;
vertical-align: middle;
}
div#layoutNavigation div.navigationBar ul{
list-style-type: none;
margin: 0;
padding: 0;
width: 90%;
text-align: left;
display: inline-block;
}
div#layoutNavigation div.navigationBar li{
padding-top: 10px;
}
div#layoutNavigation div.navigationBar li a{
display: block;
color: #d4fd00;
padding: 8px 16px;
text-decoration: none;
font-size: 14px;
font-family: fantasy;
}
div#layoutNavigation div.navigationBar li a.active{
background-color: #d4fd00;
border-radius: 10px;
color: #0a323c;
}
div#layoutNavigation div.navigationBar li a:hover:not(.active){
background-color: #fff;
color: #0a323c;
border-radius: 10px;
}
div#layoutNavigation div.navigationBar input[type=checkbox]{
height: 0;
width: 0;
visibility: hidden;
margin: 0;
}
div#layoutNavigation div.navigationBar label.switch {
cursor: pointer;
text-indent: -9999px;
width: 70px;
height: 30px;
background: grey;
display: block;
border-radius: 100px;
position: relative;
margin-top: -10;
}
div#layoutNavigation div.navigationBar label.switch:after {
content: '';
position: absolute;
left: 5px;
width: 30px;
height: 30px;
background: #fff;
border-radius: 90px;
transition: 0.3s;
}
div#layoutNavigation div.navigationBar input:checked + label.switch {
background: #0c7437;
}
div#layoutNavigation div.navigationBar input:checked + label.switch:after {
left: calc(100% - 5px);
transform: translateX(-100%);
}
div#layoutNavigation div.navigationBar label.switch:active:after {
width: 30px;
}
div#contentNavigation{
background-color: #d4fd00;
width: 70%;
height: 350px;
position: relative;
float: left;
border-radius: 30px 0px 0px 30px;
}