-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (133 loc) · 2.15 KB
/
style.css
File metadata and controls
134 lines (133 loc) · 2.15 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
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
*{
margin: 0;
padding: 0;
font-family: 'Roboto Condensed', sans-serif;
}
header{
width: 100%;
background: #1E677F;
height: 50px;
}
#btn-menu{
display: none;
}
#logo{
display: none;
}
header label{
display: none;
width: 30px;
height: 30px;
padding: 10px;
border-right: 1px solid #fff;
}
header label:hover{
cursor: pointer;
background: #1E5C7F;
}
.menu ul{
margin: 0;
list-style: none;
padding: 0;
display: flex;
}
.menu li{
flex-grow:1;
text-align: center;
}
.menu li a{
display: block;
padding: 15px 20px;
color: #fff;
text-decoration: none;
}
.menu li:hover{
background: rgb(58, 109, 124);
}
body{
background: #0F3440;
display: flex;
margin: 0;
min-height: 100vh;
flex-wrap: wrap;
}
form{
margin: auto;
width: 50%;
max-width: 500px;
background: #FFFFFF;
padding: 30px;
border: #FFFFFF;
border-radius: 15px;
}
footer{
align-self: flex-end;
background-color:rgb(21, 49, 58);
text-align: center;
width: 100%;
color: white;
}
input,select{
display: block;
padding: 10px;
width: 100%;
margin: 30px 0;
font-size: 20px;
border-radius: 15px;
}
input[type="submit"]{
background: #33cc33;
border: #33cc33;
cursor: pointer;
margin-bottom: 0;
opacity: 0.8;
}
input[type="submit"]:active{
transform: scale(0.97);
}
#footer {
margin: 0 0 3em 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
@media(max-width:768px){
form {
width: 75%;
}
}
@media(max-width:480px){
form {
width: 95%;
}
}
@media(max-width:768px){
#btn{
display: inline-block;
}
#logo{
display: inline-block;
height: 40px;
}
.menu{
position: absolute;
background: #1E677F;
width: 40%;
margin-left: -40%;
transition: all 0.5s;
}
.menu ul{
flex-direction: column;
}
.menu li{
border-top: 1 px solid white;
}
.menu li img{
display: none;
}
#btn-menu:checked ~ .menu {
margin: 0;
}
}