mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 21:25:59 -06:00
165 lines
1.9 KiB
CSS
165 lines
1.9 KiB
CSS
/* bobatheme is available under the MIT license at
|
|
* https://github.com/BBaoVanC/bobatheme.
|
|
*/
|
|
|
|
|
|
/* Post layout (in list pages) */
|
|
.post {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.post-title {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.post-title a {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
.post-description {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.post-image {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.readmore {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.tags {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.tag {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.rss-link {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
h1 svg.icon {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
|
|
|
|
/* Header formatting (website title and article section headers) */
|
|
.top {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.header a, .section-header a {
|
|
color: inherit;
|
|
}
|
|
|
|
|
|
|
|
/* Content formatting */
|
|
.content {
|
|
padding: 20px;
|
|
}
|
|
|
|
|
|
|
|
/* Navbar formatting */
|
|
#navbar h2 {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
.navbar-item {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
|
|
|
|
/* Basic elements */
|
|
body {
|
|
background-color: #111;
|
|
color: lightgray;
|
|
font-family: "Open Sans", "Noto Sans", sans-serif;
|
|
margin: auto;
|
|
max-width: 720px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
img:not(.noborder) {
|
|
padding: 5px;
|
|
border: 5px solid #1b5b9b;
|
|
}
|
|
|
|
a {
|
|
color: #4da6ff;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 5px solid #333;
|
|
}
|
|
|
|
hr {
|
|
color: #444;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
|
|
/* Icons */
|
|
.icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: lightgray;
|
|
text-align: center;
|
|
display: inline;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
|
|
|
|
/* Pagination */
|
|
.pagination {
|
|
list-style: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.page-item {
|
|
display: inline;
|
|
}
|
|
|
|
.page-link {
|
|
padding: 8px 16px;
|
|
border-radius: 5px;
|
|
color: lightgray;
|
|
}
|
|
|
|
.page-item.active .page-link {
|
|
background-color: #163b64;
|
|
color: inherit;
|
|
}
|
|
|
|
.page-item.active .page-link:hover {
|
|
background-color: #2b72c0;
|
|
color: white;
|
|
}
|
|
|
|
.page-link:hover {
|
|
background-color: #444;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|