Files
hugoDocs/themes/gohugoioTheme/assets/css/_documentation-styles.css
T
Bud Parr fd77e8df35 Update asset dependencies and adopt Hugo Pipes
* Swap src for assets directory

Assets directory is the default for Hugo Pipes

* Use "Typefaces" package

This method is cleaner because we can pull in our fonts with a require statement https://github.com/KyleAMathews/typefaces

* Use Hugo Pipes method of calling resources

* Update dependencies

* [wip]  Revamp Webpack

* Tweak Webpack for Tachyons

* Use simple build scripts

* Update dependencies

* Fix content that referenced files that don't exist

* Add all scripts

* Improve styles/js preload and cache

* Add to whitelist

* Add fonts to headers for preload

* Move preloads to header file

* Update styles

* Improve manifest usage

The manifest partial was in the site but not included in head

* Update readme

* Remove extra check on asset resources

* Call assets directly in header file
2018-11-25 17:08:43 +01:00

55 lines
1006 B
CSS

.note,
.warning {
border-left-width: 4px;
border-left-style: solid;
position: relative;
border-color: var(--primary-color);
display: block;
}
.note #exclamation-icon,
.warning #exclamation-icon {
fill: var(--primary-color);
position: absolute;
top: 35%;
left: -12px;
/*background-color: white;*/
}
.admonition-content {
display: block;
margin: 0px;
padding: .125em 1em;
/*margin-left: 1em;*/
margin-top: 2em;
margin-bottom: 2em;
overflow-x: auto;
/*font-size: .9375em;*/
background-color: var(--black-05);
}
.hide-child-menu .child-menu {
display: none;
}
.hide-child-menu:hover .child-menu,
.hide-child-menu:focus .child-menu,
.hide-child-menu:active .child-menu {
display: block;
}
/*documentation-copy headings exaggerate spacing and size to chunk content */
.documentation-copy h2 {
margin-top: 3em;
&.minor {
font-size: inherit;
margin-top: inherit;
border-bottom: none;
}
}