-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
169 lines (153 loc) · 2.77 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
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
* {
margin: 0;
box-sizing: border-box;
list-style: none;
}
body{
background-color: black;
}
/* Header Zone */
img{
/*width: 100%;*/
object-fit:contain;
max-width: 25%;
max-height: 130px;
margin: 0;
padding: 0;
}
header img:first-child{
border-right: 3px solid white;
}
header img:last-child{
border-left: 3px solid white;
}
header{
position:fixed;
top: 0;
background-color: black;
display: flex;
align-items: center;
justify-content: space-between;
grid-template-columns: repeat(3,1fr);
border-bottom: 2px solid aqua;
padding-left: 0;
padding: 0;
padding-right: 0;
min-height: 100px;
max-height: 130px;
width: 100%;
}
header ul{
color: aliceblue;
display: grid;
list-style: none;
grid-template-columns: repeat(2,auto);
background-color:blue;
border-radius: 40px;
border-left: 3px solid white;
border-right: 3px solid white;
padding-left: 0px;
}
header ul li{
text-align: center;
vertical-align: auto;
padding: 1.3rem;
margin: -1.5px;
}
header a{
color: whitesmoke;
}
header li:first-child{
border-right: 3px solid white;
border-bottom: 3px solid white;
}
header li:last-child{
border-left: 3px solid white;
border-top: 3px solid white;
}
main{
margin: 4rem;
margin-top: 150px;
}
main h1,main h2{
color: aliceblue;
margin-top:2rem;
margin-bottom: 1rem;
}
main p{
background-color: bisque;
border-radius: 1rem;
padding: 1rem;
color: black;
}
main ul{
background-color: bisque;
border-radius: 1rem;
padding: 1rem;
color: black;
}
main .succesClass{
background-color: bisque;
border-radius: 1rem;
padding: 1rem;
margin: 1rem 0.2rem;
color: black;
}
.succesClass h2{
color: red;
}
.spacer{
margin: 7rem;
}
footer{
border-top: 3px solid brown;
position:fixed;
bottom:0;
width: 100%;
align-items: center;
text-align: center;
max-height: 100px;
vertical-align: middle;
background-color: aliceblue;
color: brown;
}
footer p{
border-top: 3px solid brown;
border-radius: 10px;
width: 200px;
margin: auto;
padding-top: 1rem;
color: brown;
}
.contremesure{
position:fixed;
top:10px;
right:10px;
width:300px;
height:60px;
background-color:#f00;
color:#fff;
font-size:18px;
font-weight:bold;
padding:6px;
box-shadow: 2px 2px 3px #f00;
}
@media screen and (min-width: 650px) {
main{
margin: 20%;
margin-top: 220px;
}
footer{
display: flex;
align-items: center;
height: 50px;
}
footer img{
margin-left: 4rem;
height: 50px;
}
footer p{
border-top: 0px;
padding: 0;
}
}