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 {
|
2021-10-07 16:52:47 -05:00
|
|
|
margin-bottom: 40px;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2021-10-07 16:52:47 -05:00
|
|
|
.post-title {
|
2021-10-02 16:22:52 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2021-10-06 17:34:55 -05:00
|
|
|
.post-title a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
2021-10-09 22:33:18 -05:00
|
|
|
.post-meta-item {
|
2021-10-10 19:03:15 -05:00
|
|
|
margin-right: 10px;
|
2021-10-09 22:33:18 -05:00
|
|
|
white-space: nowrap;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2021-10-09 22:54:33 -05:00
|
|
|
.post-metadata {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2021-10-23 23:24:05 -05:00
|
|
|
.tags {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2021-10-08 22:52:58 -05:00
|
|
|
.post-media {
|
2021-10-07 16:52:47 -05:00
|
|
|
margin-top: 15px;
|
2021-10-03 19:31:56 -05:00
|
|
|
}
|
|
|
|
|
2021-10-09 22:33:18 -05:00
|
|
|
.post-description {
|
|
|
|
margin-top: 10px;
|
2021-10-09 18:08:27 -05:00
|
|
|
}
|
|
|
|
|
2021-10-09 22:33:18 -05:00
|
|
|
.readmore {
|
|
|
|
margin-top: 5px;
|
2021-10-06 17:00:34 -05:00
|
|
|
}
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
|
2021-11-01 17:38:44 -05:00
|
|
|
/* Subsection formatting */
|
|
|
|
.section {
|
|
|
|
margin-bottom: 40px;
|
|
|
|
background-color: #222;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 1px 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section:hover {
|
2021-11-01 20:30:34 -05:00
|
|
|
background-color: #333;
|
|
|
|
color: #fff;
|
2021-11-01 17:38:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-anchor {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-anchor:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-description {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-section {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
/* Header formatting (website title and article section headers) */
|
2021-10-07 16:52:47 -05:00
|
|
|
.top {
|
2021-10-18 17:29:39 -05:00
|
|
|
margin: 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-10 15:14:36 -05:00
|
|
|
.section-header-link svg {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2021-10-10 15:02:20 -05:00
|
|
|
}
|
|
|
|
|
2021-09-30 09:54:30 -05:00
|
|
|
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
/* Content formatting */
|
2021-10-26 20:50:45 -05:00
|
|
|
#table-of-contents {
|
|
|
|
background-color: #222;
|
|
|
|
padding: 8px 20px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#table-of-contents summary {
|
|
|
|
cursor: pointer;
|
2021-10-08 20:44:19 -05:00
|
|
|
}
|
|
|
|
|
2021-10-17 20:17:12 -05:00
|
|
|
.content, footer {
|
2021-10-18 17:29:39 -05:00
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
text-align: center;
|
2021-10-03 19:31:56 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Navbar formatting */
|
2021-11-04 21:04:27 -05:00
|
|
|
.topbar {
|
2021-11-01 20:29:28 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
flex-direction: row;
|
|
|
|
background-color: #222;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 5px;
|
2021-11-02 15:51:24 -05:00
|
|
|
padding: 4px;
|
2021-11-01 20:29:28 -05:00
|
|
|
align-items: flex-start;
|
2021-10-11 21:26:23 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.navbar {
|
2021-11-04 21:04:27 -05:00
|
|
|
display: flex;
|
2021-09-30 18:12:52 -05:00
|
|
|
}
|
|
|
|
|
2021-11-04 21:04:27 -05:00
|
|
|
.navbar {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: auto;
|
2021-11-01 20:29:28 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.navbar a {
|
2021-11-04 21:04:27 -05:00
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
2021-11-01 20:29:28 -05:00
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.navbar-item:hover, .langpicker summary:hover, .langpicker[open] summary {
|
2021-11-01 20:29:28 -05:00
|
|
|
background-color: #444;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 21:04:27 -05:00
|
|
|
.topbar .active {
|
2021-11-01 20:29:28 -05:00
|
|
|
font-weight: bold;
|
2021-10-02 16:22:52 -05:00
|
|
|
}
|
|
|
|
|
2021-11-07 19:55:17 -06:00
|
|
|
.langpicker {
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.langpicker summary {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 24px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.langpicker .languages {
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 8px;
|
|
|
|
right: 0;
|
|
|
|
background-color: #222;
|
|
|
|
border: 2px solid #333;
|
|
|
|
padding: 8px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2021-09-29 21:33:23 -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;
|
2021-10-04 21:06:08 -05:00
|
|
|
font-family: "Open Sans", "Noto Sans", sans-serif;
|
2021-10-03 19:31:56 -05:00
|
|
|
margin: auto;
|
|
|
|
max-width: 720px;
|
2021-10-17 00:10:03 -05:00
|
|
|
overflow-wrap: break-word;
|
2021-09-29 21:33:23 -05:00
|
|
|
}
|
2021-10-02 16:22:52 -05:00
|
|
|
|
2021-10-08 22:52:58 -05:00
|
|
|
img, video {
|
2021-10-07 16:00:52 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-11-10 21:41:15 -06:00
|
|
|
.post-media > figure.border img,
|
|
|
|
.post-media > figure.border video {
|
2021-10-06 17:34:55 -05:00
|
|
|
padding: 5px;
|
2021-10-22 23:40:09 -05:00
|
|
|
border: 7px solid #1b5b9b;
|
2021-10-06 17:34:55 -05:00
|
|
|
}
|
|
|
|
|
2021-11-10 21:41:15 -06:00
|
|
|
figure.border img,
|
|
|
|
figure.border video {
|
|
|
|
padding: 5px;
|
|
|
|
border: 2px solid #1b5b9b;
|
|
|
|
}
|
|
|
|
|
2021-10-19 13:57:39 -05:00
|
|
|
figure {
|
|
|
|
margin: auto;
|
2021-11-06 21:55:23 -05:00
|
|
|
display: inline-block;
|
2021-10-19 13:57:39 -05:00
|
|
|
}
|
|
|
|
|
2021-10-19 12:40:34 -05:00
|
|
|
figcaption {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: small;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-11-06 17:02:59 -05:00
|
|
|
aside {
|
|
|
|
background-color: #222;
|
|
|
|
padding: 12px 16px;
|
|
|
|
margin: 16px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-10-03 18:48:11 -05:00
|
|
|
border-left: 5px solid #333;
|
2021-10-08 21:54:21 -05:00
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
2021-10-03 18:48:11 -05:00
|
|
|
hr {
|
2021-10-08 21:12:24 -05:00
|
|
|
border-color: #444;
|
2021-10-03 18:48:11 -05:00
|
|
|
}
|
|
|
|
|
2021-10-10 19:36:47 -05:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Code blocks */
|
2021-11-06 17:02:59 -05:00
|
|
|
.highlight {
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
2021-10-15 19:15:36 -05:00
|
|
|
.highlight > pre {
|
|
|
|
padding: 12px 8px;
|
2021-10-17 00:13:18 -05:00
|
|
|
overflow: auto;
|
2021-10-15 19:15:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
:not(pre) > code {
|
2021-10-09 22:17:24 -05:00
|
|
|
background-color: #282828;
|
|
|
|
padding: 2px 4px;
|
2021-10-10 17:20:50 -05:00
|
|
|
overflow-wrap: break-word;
|
2021-10-09 22:17:24 -05:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:15:36 -05:00
|
|
|
code {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
2021-10-17 15:45:45 -05:00
|
|
|
.chroma .lnt {
|
|
|
|
display: block;
|
|
|
|
} /* fixes line numbers on firefox when there's only one line */
|
|
|
|
|
2021-10-03 19:31:56 -05:00
|
|
|
|
|
|
|
|
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-09 22:38:31 -05:00
|
|
|
h1 svg.icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2021-10-05 19:12:10 -05:00
|
|
|
|
|
|
|
|
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 {
|
2021-11-02 17:22:29 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(li.disabled) > .page-link:hover {
|
2021-10-02 19:26:33 -05:00
|
|
|
background-color: #444;
|
|
|
|
color: white;
|
2021-11-02 17:22:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
li.disabled {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.disabled > .page-link:hover {
|
|
|
|
cursor: not-allowed;
|
2021-10-02 19:26:33 -05:00
|
|
|
}
|
2021-10-20 14:00:40 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-02 16:51:07 -05:00
|
|
|
/* Breadcrumb navigation */
|
|
|
|
.breadcrumb {
|
|
|
|
margin-top: 40px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb li+li:before {
|
|
|
|
content: "»"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-20 14:00:40 -05:00
|
|
|
/* Print compatibility */
|
|
|
|
@media print {
|
2021-10-20 14:04:24 -05:00
|
|
|
.top, .section-header-link {
|
2021-10-20 14:00:40 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(pre) > code {
|
|
|
|
background-color: lightgray;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
}
|