-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleContact.css
More file actions
111 lines (93 loc) · 1.74 KB
/
styleContact.css
File metadata and controls
111 lines (93 loc) · 1.74 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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #e2ddd3;
}
@font-face {
font-family: myFirstFont;
src:local("/fonts/FontsFree-Net-Dream-Avenue.ttf");
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
.logo1{
font-family: "Dream Avenue";
font-size: 80px;
}
.menus {
display: flex;
gap: 20px;
align-items: center;
}
.menuHome,
.menuTest,
.menuAbout,
.menuContact,
.dropdown {
padding: 15px;
}
a {
color: black;
text-decoration: none;
}
a:hover {
color: #565257;
transition: 0.25s;
}
.dropdown, #dropHome, #dropTest, #dropAbout, #dropContact{
position: relative;
display: none;
}
@media screen and (max-width: 980px) {
.menuContact {
display: none;
}
.dropdown, #dropContact{
display: block;
}
}
@media screen and (max-width: 700px) {
.menuAbout {
display: none;
}
.dropdown, #dropAbout{
display: block;
}
}
@media screen and (max-width: 420px) {
.menuHome, .menuTest {
display: none;
}
.dropdown, #dropHome, #dropTest{
display: block;
}
}
.dropdown-content {
display: none;
position: absolute;
background-color: #e2ddd3;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
right: 0;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: right;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #f5f5f5;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}