-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
175 lines (153 loc) · 4.16 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
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
body {
background-image: url('img/img-background.jpg');
background-size: cover;
color: rgb(244, 244, 244);
margin: 0px;
}
body::before {
content: "";
position: fixed; /* Use fixed position to cover the entire viewport */
top: 0; /* Corrected syntax error */
left: 0;
width: 100%;
height: 100%;
background-image: inherit;
background-size: cover;
background-position: inherit;
filter: blur(10px); /* Adjust the blur intensity as needed */
z-index: -1; /* Ensure the pseudo-element is behind other content */
}
a {
text-decoration: none; /* Remove underline from all links */
color: inherit; /* Change the color of links */
}
a.active{
/* Style the active link */
color: rgb(212, 183, 100); /* Example: Change the color */
text-decoration: underline; /* Add underline to active link */
text-underline-offset: 4px;
text-decoration-thickness: 2px; /* Change the offset value as needed */
}
a:hover {
color: rgb(212, 183, 100); /* Example: Change the color */
}
/* default layout */
.container {
/* content and sidebar */
display: grid;
}
.container{
grid-template-columns: 15% auto;
}
.header{
width: 85%;
}
.header .header-nav li {
margin-right: 10%;
}
/* Styles for screens with a min width of 1920 pixels */
@media only screen and (min-width: 1920px){
.container{
grid-template-columns: 10% auto;
}
.header{
width: 90%;
}
.header .header-nav li {
margin-right: 15%;
}
}
/* Styles for screens with a width between 1366 pixels and 1024 pixels */
@media only screen and (min-width: 1366px) and (max-width: 1920px) {
.container{
grid-template-columns: 12% auto;
}
.header{
width: 88%;
}
.header .header-nav li {
margin-right: 12%;
}
}
/* Styles for screens with a width between 1024 pixels and 1366 pixels */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
.container{
grid-template-columns: 15% auto;
}
.header{
width: 85%;
}
}
/* Styles for screens with a width between 768 pixels and 1024 pixels */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.container{
grid-template-columns: 25% auto;
}
.header{
width: 75%;
}
}
/* Styles for screens with a maximum width of pixels */
@media only screen and (max-width: 768px) {
.container {
grid-template-columns: 35% auto;
}
.header{
width: 65%;
}
}
.content {
/* display: flex; Display pages 5-6 next to each other */
margin-top: 100px; /* Add space below the header */
text-align: center;
}
/* sidebar */
.sidebar {
height: 100vh; /* Take up full vertical height */
/* background-image: url('white-background.jpg'); /* Sidebar background image */
/* background-size: cover; */
padding: 0;
margin: 0;
border-right: 1px solid rgba(0, 0, 0, 0.2); /* Set the border color with opacity */
}
.sidebar .sidebar-logo {
margin-top: 30px;
margin-left: 30%;
}
.sidebar .sidebar-nav ul {
list-style-type: none;
margin-top: 40px;
}
.sidebar .sidebar-nav li {
margin-bottom: 50px;
}
.sidebar .sidebar-footer {
position: absolute;
bottom: 20px;
left: 20px;
}
.sidebar .sidebar-footer a img {
margin-right: 10px; /* Add spacing between social media icons */
}
/* Header */
.header {
/* background-color: #f1f1f1; /* Header background color */
height: 80;
position: fixed; /* Fixed position to keep it on the screen */
top: 0; /* Align to the top of the viewport */
right: 0; /* Align to the right side of the viewport */
border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* Set the border color with opacity */
z-index: 1; /* Ensure the header is below other content */
}
.header .header-nav ul {
list-style-type: none;
display: flex; /* Make list horizontal */
justify-content: flex-end; /* Align items to the right */
}
.header .header-nav li {
margin-left: 10px; /* 40px to right of each li */
}
/* Dropdown button */
.dropbtn {
cursor: pointer;
}