-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
139 lines (127 loc) · 1.88 KB
/
main.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
label {
display: block;
}
input#title {
width: 40em;
}
textarea {
height: 10em;
width: 55em;
}
body {
text-align: center;
background: #222;
background-image: url("images/nightbg.jpg");
background-size: cover;
color: white ;
}
fieldset {
margin-top: 10px;
}
#wrapper {
width: 800px;
margin: 10px auto;
text-align: left;
border: 1px solid grey;
padding: 20px;
background: #969CBA;
align-items: center;
}
div.blog_post h2 a,
div#header h1 a {
text-decoration: none;
color: white;
}
div#header h1 {
margin: 0;
font-size: 2.5em;
text-align: left;
flex-grow: 1;
}
div#header form {
margin: 0;
text-align: right;
align-items: center;
}
div.blog_post h2 {
margin-bottom: 0;
}
div.blog_post p {
margin-top: 0;
}
div.blog_post div.blog_content p {
margin-top: 0.5em;
}
.menu{
padding-left: 0;
list-style: none;
margin-bottom: 4px;
}
.menu li{
display: inline;
}
.menu li a{
padding: 5px 10px;
}
.menu li a.active {
border: 2px solid grey;
background: #999;
color: white;
text-decoration: none;
font-weight: 700;
}
.menu li a:hover {
background: #aaa;
color: white;
}
ul#menu li {
display: inline;
}
ul#menu li a {
padding: 5px 10px;
}
ul#menu {
padding-left: 0;
list-style: none;
margin-bottom: 4px;
}
ul#menu li a.active {
border: 2px solid grey;
background: #999;
color: white;
text-decoration: none;
font-weight: 700;
}
ul#menu li a:hover {
background: #aaa;
color: white;
}
div#all_blogs {
border: 2px solid grey;
padding: 0 10px 10px;
}
h1,
h2 {
font-family: Cambria, times, serif;
}
div.blog_content {
font-family: Calibri, sans-serif;
}
div#footer {
text-align: right;
margin-top: 10px;
}
.user{
border: 2px solid #ccc;
padding: 10px;
margin-bottom: 20px;
}
.tagButton{
background-color: greenyellow;
}
.redButton{
background-color: red;
}
.greenButton{
background-color: greenyellow;
}