bobatheme/assets/css/bobastyle.css

173 lines
2.0 KiB
CSS
Raw Normal View History

2021-10-08 19:46:45 -05:00
/* bobatheme is available under the MIT license at
* https://github.com/BBaoVanC/bobatheme.
*/
2021-10-03 19:31:56 -05:00
/* Post layout (in list pages) */
2021-10-02 16:22:52 -05:00
.post {
margin-bottom: 40px;
2021-10-02 16:22:52 -05:00
}
.post-title {
2021-10-02 16:22:52 -05:00
margin-bottom: 10px;
}
.post-title a {
color: inherit;
text-decoration: inherit;
}
2021-10-02 16:22:52 -05:00
.post-description {
margin-top: 10px;
2021-10-02 16:22:52 -05:00
}
.post-media {
margin-top: 15px;
2021-10-03 19:31:56 -05:00
}
2021-10-02 16:22:52 -05:00
.readmore {
margin-top: 5px;
2021-10-02 16:22:52 -05:00
}
.wordcount, .rss-link, .readingtime {
margin-left: 5px;
}
.tags {
margin-top: 5px;
}
.tag {
white-space: nowrap;
}
2021-10-06 17:09:38 -05:00
h1 svg.icon {
2021-10-06 09:52:06 -05:00
width: 30px;
height: 30px;
}
2021-10-03 19:31:56 -05:00
/* Header formatting (website title and article section headers) */
.top {
margin-left: 20px;
2021-09-25 20:52:01 -05:00
}
2021-09-30 09:54:30 -05:00
2021-10-03 19:31:56 -05:00
.header a, .section-header a {
color: inherit;
2021-09-25 20:52:01 -05:00
}
2021-09-30 09:54:30 -05:00
2021-10-03 19:31:56 -05:00
/* Content formatting */
#table-of-contents h2 {
font-size: 20px;
}
2021-10-03 19:31:56 -05:00
.content {
padding: 20px;
}
/* Navbar formatting */
2021-10-02 16:22:52 -05:00
#navbar h2 {
color: inherit;
text-decoration: inherit;
2021-09-30 18:12:52 -05:00
}
2021-10-03 19:31:56 -05:00
.navbar-item {
margin-right: 5px;
2021-10-02 16:22:52 -05:00
}
2021-10-03 19:31:56 -05:00
/* Basic elements */
2021-09-30 09:54:30 -05:00
body {
2021-10-02 16:22:52 -05:00
background-color: #111;
2021-10-01 14:12:39 -05:00
color: lightgray;
font-family: "Open Sans", "Noto Sans", sans-serif;
2021-10-03 19:31:56 -05:00
margin: auto;
max-width: 720px;
}
2021-10-02 16:22:52 -05:00
img, video {
2021-10-07 16:00:52 -05:00
max-width: 100%;
}
img:not(.noborder), video:not(.noborder) {
padding: 5px;
border: 5px solid #1b5b9b;
}
2021-09-30 09:54:30 -05:00
a {
color: #4da6ff;
2021-10-02 16:22:52 -05:00
text-decoration: inherit;
}
a:hover {
text-decoration: underline;
2021-09-30 09:54:30 -05:00
}
2021-10-02 16:22:52 -05:00
2021-09-30 09:54:30 -05:00
blockquote {
border-left: 5px solid #333;
}
2021-10-08 21:54:21 -05:00
blockquote p {
padding-left: 15px;
}
hr {
2021-10-08 21:12:24 -05:00
border-color: #444;
}
2021-10-03 19:31:56 -05:00
* {
box-sizing: border-box;
}
2021-10-05 19:12:10 -05:00
/* Icons */
.icon {
width: 20px;
height: 20px;
color: lightgray;
text-align: center;
display: inline;
vertical-align: middle;
}
2021-10-02 19:26:33 -05:00
/* 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;
}