-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
109 lines (96 loc) · 2.56 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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-image: url('https://images.app.goo.gl/PHVv7tEYYFn99pLn7'); /* Replace 'your-image-url.jpg' with the URL of your image */
background-size: cover; /* Cover the entire viewport */
background-repeat: no-repeat; /* Prevent the image from repeating */
color: #556B2F; /* Olive Green text color */
}
header {
text-align: right;
padding: 30px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
display: inline;
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
}
h1 {
text-align: center;
font-size: 3em;
}
/* Dropdown Styles */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown button */
.dropbtn {
background-color: transparent;
color: white;
padding: 12px;
font-size: 16px;
border: 4px solid black ; /* Default outline color */
cursor: pointer;
transition: border-color 0.3s; /* Add transition effect for outline color */
}
.dropbtn:hover {
border-color:black ; /* Change outline color on hover */
}
.dropdown-content {
display: none;
position: absolute;
background-color: #303030;
min-width: 160px;
z-index: 1;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); /* Add shadow for depth */
border-radius: 10px; /* Rounded corners */
border: 3px solid black; /* Define border outline */
margin-top: 20px; /* Add space between the dropdown button and the dropdown content */
left: 0;
}
.dropdown-content a {
border-bottom: 1px solid black; /* Add a separator between items */
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
border-radius: 0; /* Remove rounded corners from links inside dropdown */
}
.dropdown-content a:last-child {
border-bottom: none; /* Remove bottom border from the last item */
}
.dropdown-content a:hover {
background-color: black;
}
.logo {
position: absolute;
top: 60px; /* Adjust the top position */
right: 30px; /* Adjust the right position */
width: 150px; /* Adjust the width */
height: auto; /* Maintain aspect ratio */
z-index: 100; /* Ensure it's above other elements */
}
/* Add this to align the logo and menu icon */
.logo-container {
display: flex;
align-items: center;
}
.logo {
width: 50px; /* Adjust as needed */
height: auto; /* Maintain aspect ratio */
}
.menu-icon {
font-size: 24px; /* Adjust size as needed */
margin-left: 10px; /* Add spacing between logo and menu icon */
cursor: pointer;
}