mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
7
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_print.css
generated
Normal file
7
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_print.css
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
@media print {
|
||||
#page-footer,
|
||||
body > footer,
|
||||
body > nav {
|
||||
display: none;
|
||||
}
|
||||
}
|
11
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_right-sidebar.css
generated
Normal file
11
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_right-sidebar.css
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
#right-sidebar {
|
||||
scrollbar-width: none; /* hide scrollbar: Firefox */
|
||||
-ms-overflow-style: none; /* hide scrollbar: Internet Explorer 10+ */
|
||||
height: calc(100vh - 9rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#right-sidebar::-webkit-scrollbar { /* hide scrollbar: WebKit */
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
20
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_shame.css
generated
Normal file
20
docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_shame.css
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Make h6 elements behave like dt elements. Initially implemented to support
|
||||
linkable glossary entries.
|
||||
|
||||
Yes, it's a hack. That's why it's in the shame file.
|
||||
*/
|
||||
|
||||
h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
h6:first-of-type {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
h6 ~ p {
|
||||
margin: 0.5em 0 2em 0;
|
||||
}
|
@@ -21,18 +21,18 @@
|
||||
@import '_no-js';
|
||||
@import '_social-icons';
|
||||
@import '_stickyheader';
|
||||
|
||||
@import '_right-sidebar';
|
||||
@import '_svg';
|
||||
@import '_chroma';
|
||||
@import '_variables';
|
||||
@import '_print';
|
||||
@import '_shame';
|
||||
|
||||
.nested-blockquote blockquote {
|
||||
border-left: 4px solid var(--primary-color);
|
||||
padding-left: 1em;
|
||||
/*margin: 0;*/
|
||||
}
|
||||
|
||||
|
||||
.mw-90 {
|
||||
max-width:90%;
|
||||
}
|
||||
|
@@ -5174,6 +5174,16 @@ code, .code, pre code, .highlight pre {
|
||||
right:0;
|
||||
}
|
||||
}
|
||||
#right-sidebar {
|
||||
scrollbar-width: none; /* hide scrollbar: Firefox */
|
||||
-ms-overflow-style: none; /* hide scrollbar: Internet Explorer 10+ */
|
||||
height: calc(100vh - 9rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
#right-sidebar::-webkit-scrollbar { /* hide scrollbar: WebKit */
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
.fill-current { fill: currentColor; }
|
||||
/* Background */
|
||||
.chroma { background-color: #ffffff }
|
||||
@@ -5305,10 +5315,33 @@ code, .code, pre code, .highlight pre {
|
||||
.chroma .gt { color: #aa0000 }
|
||||
/* TextWhitespace */
|
||||
.chroma .w { color: #bbbbbb }
|
||||
@media print {
|
||||
#page-footer,
|
||||
body > footer,
|
||||
body > nav {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
/*
|
||||
Make h6 elements behave like dt elements. Initially implemented to support
|
||||
linkable glossary entries.
|
||||
|
||||
Yes, it's a hack. That's why it's in the shame file.
|
||||
*/
|
||||
h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
h6:first-of-type {
|
||||
margin-top: 3em;
|
||||
}
|
||||
h6 ~ p {
|
||||
margin: 0.5em 0 2em 0;
|
||||
}
|
||||
.nested-blockquote blockquote {
|
||||
border-left: 4px solid #0594CB;
|
||||
padding-left: 1em;
|
||||
/*margin: 0;*/
|
||||
}
|
||||
.mw-90 {
|
||||
max-width:90%;
|
||||
|
Reference in New Issue
Block a user