-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
182 lines (159 loc) · 3.19 KB
/
index.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
181
182
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
/* base styles */
* {
margin: 0;
font-family: 'Quicksand', sans-serif;
color: #333;
}
body {
background-color: #f4f4f9;
/* Light gray background for the whole page */
color: #333;
/* Dark gray text color */
}
/* navbar styles */
.navbar {
padding: 20px;
display: flex;
align-items: center;
max-width: 800px;
margin: 0 auto;
border-bottom: 1px solid #dcdcdc;
background-color: #ffffff;
/* White background for navbar */
}
.navbar h1 {
color: #1a73e8;
/* Blue color for the brand */
margin: 0;
font-size: 24px;
}
.navbar .links {
margin-left: auto;
}
.navbar a {
margin-left: 16px;
text-decoration: none;
color: #333;
padding: 8px 12px;
border-radius: 4px;
}
.navbar a:hover {
background-color: #1a73e8;
/* Blue color on hover */
color: #ffffff;
/* White text color on hover */
}
/* content styles */
.content {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #ffffff;
/* White background for content area */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
/* blog previews / list */
.blog-preview {
padding: 15px;
margin: 20px 0;
border: 1px solid #e0e0e0;
border-radius: 8px;
background-color: #ffffff;
/* White background for blog previews */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.blog-preview:hover {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.blog-preview h2 {
font-size: 22px;
color: #1a73e8;
/* Blue color for blog titles */
margin-bottom: 10px;
}
.blog-preview a {
text-decoration: none;
color: #333;
}
/* blog details page */
.blog-details {
padding: 20px;
background-color: #ffffff;
/* White background for blog details */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
.blog-details h2 {
font-size: 24px;
color: #1a73e8;
/* Blue color for blog details title */
margin-bottom: 20px;
}
.blog-details div {
margin: 20px 0;
}
.blog-details button {
background: #1a73e8;
/* Blue color for buttons */
color: #ffffff;
border: 0;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
}
.blog-details button:hover {
background: #155ab3;
/* Darker blue shade on hover */
}
/* create new blog form */
.create {
max-width: 500px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
/* White background for form */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
text-align: center;
}
.create label {
text-align: left;
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.create h2 {
font-size: 24px;
color: #1a73e8;
/* Blue color for form title */
margin-bottom: 20px;
}
.create input,
.create textarea,
.create select {
width: 100%;
padding: 12px 16px;
margin: 10px 0;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
display: block;
}
.create button {
background: #1a73e8;
/* Blue color for form button */
color: #ffffff;
border: 0;
padding: 12px 24px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
.create button:hover {
background: #155ab3;
/* Darker blue shade on hover */
}