-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.2.css
131 lines (110 loc) · 2.01 KB
/
styles.2.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
/* styles.css */
/* Reset default margin and padding on all elements */
* {
margin: 0;
padding: 0;
}
/* Set a background color and text color for the whole page */
body {
background: linear-gradient(
to bottom,
#68a3d0,
#b3e0f2
); /* Slightly darker blue gradient background */
color: #333; /* Darker text color for better visibility */
font-family: Arial, sans-serif;
}
/* Style the header */
header {
background-color: black;
color: white;
text-align: center;
padding: 20px;
}
/* Style the main content area */
.main-content {
margin: 20px;
padding: 20px;
background-color: white;
border-radius: 10px;
}
/* Style links */
a {
color: #0077cc; /* Blue link color */
text-decoration: none;
}
/* Style links on hover */
a:hover {
text-decoration: underline;
}
/* Style headings */
h1,
h2,
h3 {
color: #333; /* Darker text color for headings */
}
/* Style paragraphs */
p {
line-height: 1.5;
margin-bottom: 20px;
}
/* Style lists */
ul,
ol {
margin-left: 20px;
margin-bottom: 20px;
}
/* Style list items */
li {
margin: 5px 0;
}
/* Style footer */
footer {
background-color: black;
color: white;
text-align: center;
padding: 10px;
}
* CSS for navigation */ .navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background-color: var(--cg-black);
color: var(--cg-white);
padding: 0px 0px;
/* Debug border */
/* border: solid red; */
}
.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
text-align: ;
/* Debug border */
/* border: solid blue; */
}
.navbar a {
color: var(--cg-white);
font-weight: bold;
margin: 0 16px;
text-align: center;
text-decoration: none;
letter-spacing: 2px;
font-family: Times New Roman;
}
.navbar a:hover {
color: var(--cg-blue);
text-decoration: underline;
}
.navbar a:active {
color: var(--cg-blue);
}