-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
180 lines (155 loc) · 3.1 KB
/
style1.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/* CSS Reset */
* {
margin: 0px;
padding: 0px;
}
html {
scroll-behavior: smooth;
}
/* Navigation Bar */
#navbar {
position: sticky;
display: flex;
align-items: center;
top: 0px;
padding: 2px 0px;
}
/* Navigation Bar: Logo and Image */
#logo {
margin: 10px 0px 10px 20px;
}
#logo img {
margin: 3px 3px;
height: 59px;
}
#navbar p {
font-size: 27px;
padding: 0px 8px 0px 0px;
margin: 0px;
color: white;
}
/* Navigation Bar: List Styling */
#navbar ul {
display: flex;
font-family: 'Merriweather', serif;
}
#navbar::before {
content: "";
background-color: black;
position: absolute;
height: 100%;
/* height: 10px 54px; */
width: 100%;
z-index: -1;
opacity: 0.4;
}
#navbar ul li {
list-style: none;
font-size: 1.2rem;
}
#navbar ul li a {
color: white;
display: block;
padding: 3px 22px;
border-radius: 20px;
text-decoration: none;
transition-duration: 0.3s;
}
#navbar ul li a:hover {
color: black;
background-color: white;
text-decoration: underline;
}
#navbar .active{
text-decoration: underline;
color: lightgrey;
}
.right {
display: inline-block;
/* border: 2px solid yellow; */
position: absolute;
right: 34px;
top: 29px;
}
.butn {
font-family: 'Merriweather', serif;
padding: 3px 14px;
margin: 0px 9px;
background-color: #CF9FFF;
color: white;
border: 2px solid grey;
border-radius: 10px;
font-size: 20px;
cursor: pointer;
}
.butn:hover{
background-color: #bc65d2;
color:#F1F0FF ;
text-decoration: underline;
}
/* Home Section */
#home {
display: flex;
flex-direction: column;
padding: 3px 200px;
height: 578px;
justify-content: center;
align-items: center;
}
#home::before {
content: "";
position: absolute;
background: url('https://source.unsplash.com/random/?books/1600x900') no-repeat center center/cover;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
z-index: -1;
opacity: 0.89;
}
#home h1 {
/* font-size: 45px; */
color: white;
text-align: center;
font-family: 'Merriweather', serif;
text-shadow: 2px 2px black;
}
#home p {
color: white;
text-align: center;
font-size: 1.8rem;
font-family: 'Playfair Display', serif;
text-shadow: 2px 2px black;
}
footer{
background: black;
color: white;
padding: 9px 20px;
}
/* Utility Classes */
.h-primary {
font-size: 2.8rem;
padding: 12px;
font-family: 'Playfair Display', serif;
}
.h-secondary {
font-size: 2.3rem;
padding: 12px;
font-family: 'Playfair Display', serif;
}
.btn {
padding: 6px 20px;
border: 2px solid white;
background-color: palegoldenrod;
color: black;
margin: 17px;
font-size: 1.5rem;
border-radius: 12px;
cursor: pointer;
}
.btn:hover {
background-color: rgb(237, 224, 90);
}
.center {
text-align: center;
}