-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (102 loc) · 2.49 KB
/
styles.css
File metadata and controls
117 lines (102 loc) · 2.49 KB
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
/* General page text */
body {
font-family: Arial, Helvetica, sans-serif; /* clean sans-serif font */
font-size: 16px; /* base size */
color: #333333; /* dark gray text */
line-height: 1.6;
margin: 0;
padding: 0;
}
/* Header and navbar text */
header nav {
display: flex;
gap: 1rem; /* Use gap for spacing between nav items */
}
header nav a {
font-family: "Trebuchet MS", sans-serif; /* different font style */
font-size: 1rem; /* normal readable size */
color: #ffffff; /* white text */
text-decoration: none; /* removes underline */
padding: 10px 15px;
}
header .brand {
font-family: Georgia, serif; /* stylish serif font */
font-size: 1.5rem; /* bigger brand name */
color: #ffcc00; /* gold/yellow color */
margin: 0;
}
/* Header styling */
header {
background-color: #2c3e50;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Sidebar text */
aside {
font-size: 0.95rem; /* slightly smaller */
color: #222; /* dark text */
background-color: #f8f9fa;
padding: 20px;
width: 200px;
}
aside ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.5rem; /* Use gap for spacing between list items */
}
aside li {
padding: 8px 0;
border-bottom: 1px solid #ddd;
}
/* Main content layout */
main {
display: flex;
gap: 2rem; /* Use gap for spacing between sidebar and article */
min-height: 70vh;
}
/* Article text */
article {
flex: 1;
padding: 20px 30px;
}
article h1 {
font-family: Georgia, serif;
font-size: 2rem; /* large title */
color: darkblue;
}
article p {
font-size: 1rem;
color: #444;
margin-bottom: 15px;
}
/* Testimonial styling */
.testimonial {
background-color: #f0f8ff;
padding: 20px;
margin: 20px 0;
border-left: 4px solid #3498db;
}
.testimonial blockquote {
font-style: italic;
margin: 0 0 10px 0;
font-size: 1.1rem;
}
.testimonial figcaption {
font-weight: bold;
color: #666;
}
/* Footer text */
footer {
font-family: "Courier New", monospace;
font-size: 0.85rem;
color: #888;
background-color: #34495e;
color: white;
text-align: center;
padding: 15px;
}