mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-08-03 20:49:41 -04:00
Update theme
This commit is contained in:
parent
26e682a3aa
commit
7f8979c50c
@ -54,7 +54,7 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (--breakpoint-large) {
|
@media (--breakpoint-large) {
|
||||||
.full-width, pre.expand:hover
|
.full-width
|
||||||
{
|
{
|
||||||
/*width: 100vw;
|
/*width: 100vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
require('typeface-muli');
|
require('typeface-muli');
|
||||||
import styles from './css/main.css';
|
import styles from './css/main.css';
|
||||||
import './js/clipboardjs.js';
|
import './js/clipboardjs.js';
|
||||||
import './js/codeblocks.js';
|
|
||||||
import './js/docsearch.js';
|
import './js/docsearch.js';
|
||||||
import './js/lazysizes.js';
|
import './js/lazysizes.js';
|
||||||
import './js/menutoggle.js';
|
import './js/menutoggle.js';
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
let article = document.getElementById('prose')
|
|
||||||
|
|
||||||
if (article) {
|
|
||||||
let codeBlocks = article.getElementsByTagName('code')
|
|
||||||
for (let [key, codeBlock] of Object.entries(codeBlocks)){
|
|
||||||
var widthDif = codeBlock.scrollWidth - codeBlock.clientWidth
|
|
||||||
if (widthDif > 0)
|
|
||||||
codeBlock.parentNode.classList.add('expand')
|
|
||||||
}
|
|
||||||
}
|
|
@ -4809,7 +4809,7 @@ pre {
|
|||||||
content: "Copied"
|
content: "Copied"
|
||||||
}
|
}
|
||||||
@media screen and (min-width: 60em) {
|
@media screen and (min-width: 60em) {
|
||||||
.full-width, pre.expand:hover
|
.full-width
|
||||||
{
|
{
|
||||||
/*width: 100vw;
|
/*width: 100vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
# github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675
|
# github.com/gohugoio/gohugoioTheme v0.0.0-20221217122332-1c1752ad8f14
|
||||||
|
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs
|
|||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675 // indirect
|
require github.com/gohugoio/gohugoioTheme v0.0.0-20221217122332-1c1752ad8f14 // indirect
|
||||||
|
2
go.sum
2
go.sum
@ -47,3 +47,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20221124154621-1451a01f406b h1:TRrIisSY
|
|||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20221124154621-1451a01f406b/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20221124154621-1451a01f406b/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675 h1:wjpYa1cTELeceWndBDV7IG2vRxRWICBBO79HObOfTtk=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675 h1:wjpYa1cTELeceWndBDV7IG2vRxRWICBBO79HObOfTtk=
|
||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20221206093948-1408550ab675/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
|
github.com/gohugoio/gohugoioTheme v0.0.0-20221217122332-1c1752ad8f14 h1:K6tPFpi7W0zb89QIf+lNdgdTXfDFemU6NKk46MlX9lQ=
|
||||||
|
github.com/gohugoio/gohugoioTheme v0.0.0-20221217122332-1c1752ad8f14/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user