-
Notifications
You must be signed in to change notification settings - Fork 0
/
home_design.css
139 lines (119 loc) · 2.17 KB
/
home_design.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
* {
font-family: 'Poppins', sans-serif;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
}
/* Updated header styling */
header {
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 10px 30px;
background-color: #d2dce6;
}
header h1 {
color: #6F3F3A;
margin: 0;
font-size: 2em;
}
nav {
display: flex;
align-items: center;
gap: 20px;
}
nav a {
color: #6F3F3A;
text-decoration: none;
font-weight: 500;
font-size: 1.1em;
}
/* Dropdown styling */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown .dropbtn {
color: #6F3F3A;
font-size: 1.1em;
font-weight: 500;
border: none;
cursor: pointer;
padding: 10px;
text-decoration: none;
}
.dropdown-content {
position: absolute;
background-color: #f2f2eb;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
z-index: 4;
opacity: 0;
max-height: 0;
overflow: hidden;
transition: all 0.3s ease;
}
.dropdown-content a {
color: #6F3F3A;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #d2bba4;
}
.dropdown:hover .dropdown-content {
opacity: 1;
max-height: 500px;
}
.dropdown:hover .dropbtn {
background-color: #ffffff;
}
.login {
background-color: #fcf8ed;
padding: 7px 15px;
border-radius: 23%;
}
.homepage {
justify-content: space-between;
align-items: center;
height: 50vh;
background-color: #d2dce6;
position: relative;
}
.homepage-content {
flex-direction: column;
justify-content: center;
padding-left: 20px;
width: 50%;
}
.homepage h2 {
padding-top: 40px;
padding-left: 90px;
font-size: 3em;
color: #72383d;
margin: 0;
}
.homepage p {
padding-left: 90px;
font-size: 1em;
color: #ab644b;
margin: 10px 0 0;
}
.homepage img {
display: block;
position: absolute;
right: 0;
top: 70px;
width: 50%;
height: auto;
max-height: 100%;
object-fit: contain;
z-index: 3;
}