blog.css 2.35 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
2
3
4
5
/*
 * Globals
 */

body {
Mark Otto's avatar
Mark Otto committed
6
7
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #555;
Mark Otto's avatar
Mark Otto committed
8
9
10
11
12
13
14
15
16
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
17
18
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
XhmikosR's avatar
XhmikosR committed
19
  color: #333;
Mark Otto's avatar
Mark Otto committed
20
21
}

Mark Otto's avatar
Mark Otto committed
22

Mark Otto's avatar
Mark Otto committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}


/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #428bca;
Bas Bosman's avatar
Bas Bosman committed
40
41
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
Mark Otto's avatar
Mark Otto committed
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
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
70
  content: " ";
Mark Otto's avatar
Mark Otto committed
71
  border-right: 5px solid transparent;
Mark Otto's avatar
Mark Otto committed
72
  border-bottom: 5px solid;
Mark Otto's avatar
Mark Otto committed
73
  border-left: 5px solid transparent;
Mark Otto's avatar
Mark Otto committed
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
}


/*
 * Blog name and description
 */

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
Mark Otto's avatar
Mark Otto committed
102
  font-size: 18px;
Mark Otto's avatar
Mark Otto committed
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
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 60px;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}


/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
164
165
166
.blog-footer p:last-child {
  margin-bottom: 0;
}