mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-04 19:17:33 -05:00
Compare commits
3 Commits
81709bb47e
...
breadcrumb
Author | SHA1 | Date | |
---|---|---|---|
8c0b3a7268
|
|||
73ef9cc7a6
|
|||
4adb754ae3
|
@ -1,2 +1,4 @@
|
||||
# bobatheme
|
||||
Simple Hugo theme
|
||||
|
||||
The (boba) best Hugo theme. Contains everything I need for bbaovanc.com and
|
||||
boba.best.
|
||||
|
@ -666,7 +666,10 @@ table.markdown {
|
||||
|
||||
:not(pre) > code {
|
||||
background-color: var(--background-2);
|
||||
/* Disable this because it overrides inline code blocks that are
|
||||
* also links
|
||||
color: var(--text-2);
|
||||
*/
|
||||
padding: 2px 4px;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
@ -788,20 +791,45 @@ li.disabled > .page-link:hover {
|
||||
|
||||
/* Breadcrumb navigation */
|
||||
.breadcrumb {
|
||||
margin: 30px 0 20px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.breadcrumb ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.breadcrumb li {
|
||||
display: inline;
|
||||
padding: 8px;
|
||||
background-color: var(--background-1);
|
||||
}
|
||||
|
||||
.breadcrumb li+li:before {
|
||||
content: "»"
|
||||
.breadcrumb li:hover {
|
||||
background-color: var(--background-2);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.breadcrumb li a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.breadcrumb li.active:hover {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.breadcrumb li:first-child {
|
||||
border-top-left-radius: 12px;
|
||||
border-bottom-left-radius: 12px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.breadcrumb li:last-child {
|
||||
border-top-right-radius: 12px;
|
||||
border-bottom-right-radius: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user