-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
157 lines (138 loc) · 2.94 KB
/
menu.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
*{
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-style: italic;
}
body{
background-color: #342d50;
}
.menu{
background-color:indigo;
height: 4.8em;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: .1em solid #fff;
box-shadow: 0.2em 0.2em 5em #714cf8;
}
.logo{
color: bisque;
font-size: 35px;
display: flex;
align-items: center;
padding: 0 80px;
text-shadow: 0em .2em .3em #020105;
}
.img-logo{
margin: .5em;
width: 2em;
border-radius: 10% 10% 50% 50%;
-webkit-border-radius: 10% 10% 50% 50%;
-moz-border-radius: 10% 10% 50% 50%;
-ms-border-radius: 10% 10% 50% 50%;
-o-border-radius: 10% 10% 50% 50%;
font-weight: bold;
box-shadow: 0em .2em .3em #0e0820;
}
.menu_items{
list-style: none;
display: flex;
align-items: center;
margin-right: 30px;
}
.menu_items li{
border-radius: .4em;
margin:0 5px;
-webkit-border-radius: .4em;
-moz-border-radius: .4em;
-ms-border-radius: .4em;
-o-border-radius: .4em;
text-shadow: .2em .2em .3em #020105;
box-shadow: 0em .3em .3em #0e0820bb;
}
.menu_items li a{
padding: 7px 13px ;
text-decoration: none;
color: bisque;
font-size: 18px;
display: block;
text-transform: uppercase;
}
.menu_items li a:hover{
color: white;
text-shadow: 0em .2em .5em bisque;
transition: .3s;
}
.menu_items li:hover {
background-color: #ad227890;
transition: .3s;
-webkit-transition: .3s;
-moz-transition: .3s;
-ms-transition: .3s;
-o-transition: .3s;
}
.btn_menu{
margin-right: 1em;
font-size: 1.7em;
color: bisque;
cursor: pointer;
display: none;
}
ul.show{
top:65px;
}
@media screen and (max-width: 852px){
.logo{
font-size:30px ;
padding-left: 35px;
}
.menu_items li a{
font-size: 16px;
}
}
@media screen and (max-width:758px){
.menu{
height: 65px;
}
.btn_menu{
display: inline-flex;
}
.menu_items{
position: fixed;
width: 100vw;
height: calc(100% - 65px);
background: #1e0233;
top: -100vh;
text-align: center;
transition: all .4s;
flex-direction: column;
-webkit-transition: all .4s;
-moz-transition: all .4s;
-ms-transition: all .4s;
-o-transition: all .4s;
}
.menu_items li{
margin: 30px 0 0 0 ;
line-height: 30px;
}
.menu_items li:hover{
background: none;
}
.menu_items li a{
font-size: 20px;
color: bisque;
font-weight: bold;
}
.menu_items li a:hover{
color: bisque;
text-shadow: 0 0 2em violet ;
}
.logo{
font-size: 25px;
padding-left: 35px;
}
}