diff --git a/.factory/index.css.scss b/.factory/index.css.scss index 8249789..a3cd76d 100644 --- a/.factory/index.css.scss +++ b/.factory/index.css.scss @@ -183,6 +183,7 @@ abbr { audio, iframe, +picture, video { display: block; height: auto; @@ -248,7 +249,6 @@ code { details { > summary { @extend %label; - cursor: pointer; display: block; padding-left: 15px; position: relative; @@ -381,14 +381,16 @@ legend { mark { background: #fff399; - color: inherit; } ol { list-style: decimal; } -small, +small { + @extend %small; +} + sub, sup { @extend %small; @@ -432,19 +434,6 @@ pre { } } -.aside { - width: 280px; -} - -.body { - background: #fff; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); - margin: 50px auto; - padding: 15px; - position: relative; - width: 900px; -} - button, input, output, @@ -616,6 +605,43 @@ textarea { opacity: 0.6; } +[role='button'] { + @extend button; + &:focus, + &:hover, + &:active { + color: #fff; + text-decoration: none; + } + &:not(:any-link) { + @extend :disabled; + } +} + +[role='deletion'] { + @extend del; +} + +[role='img'] { + @extend img; +} + +[role='insertion'] { + @extend ins; +} + +[role='link'] { + @extend a; +} + +[role='mark'] { + @extend mark; +} + +.aside { + width: 280px; +} + .banner { background: #f2f0f1; margin: 0; @@ -635,6 +661,15 @@ textarea { } } +.body { + background: #fff; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); + margin: 50px auto; + padding: 15px; + position: relative; + width: 900px; +} + .content { background: #fff linear-gradient(#f2f2f2, #fff) repeat-x 0 0; background-size: 100% 350px; @@ -792,16 +827,6 @@ textarea { line-height: 45px; margin: 0; text-transform: uppercase; - ul, - li { - list-style: none; - margin: 0; - padding: 0; - } - ul { - display: flex; - flex-wrap: wrap; - } a { @extend %label; border: { @@ -820,14 +845,26 @@ textarea { background: rgba(0, 0, 0, 0.045); } } + li, + ul { + list-style: none; + margin: 0; + padding: 0; + } mark { background: rgba(0, 0, 0, 0.125); } li { - &:first-child a { - border-left-width: 0; + &:first-child { + a { + border-left-width: 0; + } } } + ul { + display: flex; + flex-wrap: wrap; + } + h2 { display: none; + ul { @@ -1045,39 +1082,6 @@ textarea { } } -[role='button'] { - @extend button; - &:focus, - &:hover, - &:active { - color: #fff; - text-decoration: none; - } - &:not(:any-link) { - @extend :disabled; - } -} - -[role='deletion'] { - @extend del; -} - -[role='img'] { - @extend img; -} - -[role='insertion'] { - @extend ins; -} - -[role='link'] { - @extend a; -} - -[role='mark'] { - @extend mark; -} - @import './_/x/alert'; @import './_/x/comment'; @import './_/x/markdown'; diff --git a/index.css b/index.css index bcc7ade..12b9b3d 100755 --- a/index.css +++ b/index.css @@ -216,9 +216,9 @@ s { text-decoration: line-through; } -small, sub, -sup { +sup, +small { font-size: 90%; } @@ -237,6 +237,7 @@ abbr[title]:hover { audio, iframe, +picture, video { display: block; height: auto; @@ -272,7 +273,6 @@ code { } details > summary { - cursor: pointer; display: block; padding-left: 15px; position: relative; @@ -388,14 +388,12 @@ legend { mark, [role=mark] { background: #fff399; - color: inherit; } ol { list-style: decimal; } -small, sub, sup { position: relative; @@ -439,19 +437,6 @@ pre code { padding: 10px; } -.aside { - width: 280px; -} - -.body { - background: #fff; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); - margin: 50px auto; - padding: 15px; - position: relative; - width: 900px; -} - button, [role=button], input[type=button], @@ -589,6 +574,16 @@ textarea { opacity: 0.6; } +[role=button]:focus, +[role=button]:hover, +[role=button]:active { + color: #fff; + text-decoration: none; +} +.aside { + width: 280px; +} + .banner { background: #f2f0f1; margin: 0; @@ -607,6 +602,15 @@ textarea { display: none; } +.body { + background: #fff; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); + margin: 50px auto; + padding: 15px; + position: relative; + width: 900px; +} + .content { background: #fff linear-gradient(#f2f2f2, #fff) repeat-x 0 0; background-size: 100% 350px; @@ -761,16 +765,6 @@ textarea { margin: 0; text-transform: uppercase; } -.nav ul, -.nav li { - list-style: none; - margin: 0; - padding: 0; -} -.nav ul { - display: flex; - flex-wrap: wrap; -} .nav a, .nav [role=link] { border-left: 1px solid rgba(255, 255, 255, 0.175); @@ -790,6 +784,12 @@ textarea { .nav [role=link]:active { background: rgba(0, 0, 0, 0.045); } +.nav li, +.nav ul { + list-style: none; + margin: 0; + padding: 0; +} .nav mark, .nav [role=mark] { background: rgba(0, 0, 0, 0.125); @@ -798,6 +798,10 @@ textarea { .nav li:first-child [role=link] { border-left-width: 0; } +.nav ul { + display: flex; + flex-wrap: wrap; +} .nav + h2 { display: none; } @@ -992,12 +996,6 @@ textarea { display: table; } -[role=button]:focus, -[role=button]:hover, -[role=button]:active { - color: #fff; - text-decoration: none; -} [role=alert] { background: #ffffd8; border: 1px solid rgba(0, 0, 0, 0.125); diff --git a/index.min.css b/index.min.css index eddced1..9f34c04 100644 --- a/index.min.css +++ b/index.min.css @@ -1 +1 @@ -[role=img],img,kbd{background:#fafafa}dl,ol ol,ol ul,ul ol,ul ul{margin-left:15px}.body,details>summary,small,sub,sup{position:relative}.footer .widget [role=tree],.footer .widget p,.footer .widget ul li{padding-left:10px;padding-right:10px}.footer .widget h4,.nav,.nav+h2+ul,h6{text-transform:uppercase}*,::after,::before{background:0 0;border:0;box-sizing:border-box;color:inherit;font:inherit;margin:0;padding:0;text-align:inherit;text-decoration:none;word-wrap:break-word}::-moz-focus-inner{border:0;margin:0;outline:0;padding:0}:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,ol,p,pre,search,section,table,ul)+:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,ol,p,pre,search,section,table,ul){margin-top:15px}li:where(:not(:first-child))>:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,p,pre,search,section,table):where(:first-child){margin-top:15px}::placeholder{opacity:.5}:root{--font-0:Verdana,"Bitstream Vera Sans","DejaVu Sans",Tahoma,Helvetica,Arial,Geneva,sans-serif;--font-1:"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;--font-2:"Century Gothic","Apple Gothic","Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;--font-3:Georgia,Times,serif;--font-4:Consolas,"Nimbus Mono L",monospace;background:url("back.jpg") 50% 0 repeat-x #f7f0e3;color:#666;font:normal normal 11px/1.6 var(--font-0);text-align:left}.comments .comment-author,.footer .widget h4,.nav,.nav+h2+ul,b,blockquote,dt,h5,h6,legend,strong,th{font-weight:700}[role=link],a{color:#5a93c9;cursor:pointer}[role=link]:focus,[role=link]:hover,a:focus,a:hover{color:#88ac0b;text-decoration:underline}[aria-current][role=link],[aria-disabled][role=link],a[aria-current],a[aria-disabled]{color:inherit;cursor:default;text-decoration:none}em,i,var{font-style:italic}[role=button],button,input,input[type=button],input[type=reset],input[type=submit],output,select,textarea{accent-color:#88ac0b;background:#f7f0e3;border:1px solid #d8d2c7;border-top-color:#d2ccc1;color:#777;display:inline-block;max-width:12rem;padding:3px 5px;position:relative;text-decoration:none;vertical-align:middle;width:12rem}.nav [role=link],.nav a,[role=button],button,details>summary,input[type=button],input[type=checkbox],input[type=color],input[type=file],input[type=image],input[type=radio],input[type=range],input[type=reset],input[type=submit],label,select{cursor:pointer;user-select:none}[role=deletion],del,s{text-decoration:line-through}small,sub,sup{font-size:90%;top:.25rem;vertical-align:middle}[role=insertion],abbr[title]:hover,ins,u{text-decoration:underline}abbr[title]{cursor:help}audio,iframe,video{display:block;height:auto;width:100%}blockquote{background:url("quote.jpg") 5px 5px no-repeat #fafae7;border:1px solid #f4f3ec;color:#976957;font-family:var(--font-1);font-size:130%;line-height:1.2;margin-left:10px;margin-right:10px;padding:5px 10px 5px 45px}blockquote blockquote{font-size:100%;margin-left:1rem}caption,figcaption{color:#99997d;margin:5px 0 0;text-align:center}code{font-family:var(--font-4)}details>summary{cursor:pointer;display:block;padding-left:15px}details>summary::before{border-bottom:4px solid transparent;border-left:8px solid #666;border-right:0 solid transparent;border-top:4px solid transparent;content:"";height:0;left:0;margin-top:-4px;position:absolute;top:50%;width:0}details>summary:hover::before{border-left-color:#444}fieldset,kbd{border:1px solid #e5e5e5}details[open]>summary{margin-bottom:15px}details[open]>summary::before{border-bottom:0 solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:8px solid #666;margin-top:-3px}fieldset{padding:15px}figure{text-align:center}figure [role=img],figure img{display:block;margin-left:auto;margin-right:auto}form>p>label{border-top:1px solid transparent;padding-top:3px}h1,h2,h3,h4,h5,h6{color:#899b0d;font-family:var(--font-1);line-height:1.2}h1{font-size:240%}h2{font-size:190%}h3{font-size:150%}h4{font-size:120%}h5,h6{font-size:100%}h6{font-size:90%}hr{border-top:1px dashed #e5e5e5}[role=img],img{border:1px solid #dcdcdc;height:auto;max-width:100%;padding:5px}kbd{padding:2px 3px}legend{padding:0 5px}[role=mark],mark{background:#fff399;color:inherit}ol{list-style:decimal}sup{top:-.25rem}ul{list-style:disc url("data:image/gif;base64,R0lGODlhCAAMAKUqAJW7HajHR7jXbaTFQJ3AMZ3CMLPTYqDENvj68Pz9+fn786PHP/7+/NXjp6THPv3+/KPGPJW8HsnbjpvAK6HEOJS7HPr89ff675W7H5q/Kdbkq6DBNsjai8rcj/v8+NvntLXPZLTUZavJTqPEPbrYcv///vr89sHWfbzTcbfQaP///////////////////////////////////////////////////////////////////////////////////////yH5BAEAAD8ALAAAAAAIAAwAAAYswJ9wSCwaj0jjaTTgDFGRBQTQERIcJMEhINxQQoaCSCipTDIYzbABSn2SvyAAOw==")}dl{margin-right:15px}ol,ul{margin-left:30px}pre{overflow:auto;white-space:pre-wrap}pre code{background:#fafae7;border:1px solid #f4f3ec;display:block;padding:10px}.aside{width:280px}.body{background:#fff;box-shadow:0 0 4px rgba(0,0,0,.5);margin:50px auto;padding:15px;width:900px}[role=button],button,input[type=button],input[type=reset],input[type=submit],table th{background:linear-gradient(#9bb009,#aabd30) repeat-x #9bb009;color:#fff;font-size:110%;font-family:var(--font-1)}[role=button],button,input[type=button],input[type=reset],input[type=submit]{border:0;font-weight:700;max-width:unset;padding-left:8px;padding-right:8px;width:auto}.header,.nav+h2+ul{font-family:var(--font-3)}input[type=checkbox],input[type=color],input[type=file],input[type=image],input[type=radio],input[type=range]{background:0 0;border:0;box-shadow:none;height:auto;line-height:inherit;max-width:unset;padding:0;width:auto}input[type=color]{height:2.25rem;max-width:unset;width:2.25rem}input[type=checkbox],input[type=radio]{-webkit-appearance:none;appearance:none;background:#88ac0b;border-radius:3px;height:1.1em;margin:-.25em 0 0;max-height:1.1em;max-width:1.1em;min-height:1.1em;min-width:1.1em;width:1.1em}.footer>div,.header h1,.is\:pages .main>.page>header p,.widget [role=tree][open]>summary{margin-bottom:0}input[type=checkbox]:checked::before{border-bottom:1px solid #fff;border-left:1px solid #fff;content:"";height:.3em;left:.25em;position:absolute;top:.26em;transform:rotate(-45deg);width:.5em}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=radio]{border-radius:100%}input[type=radio]:checked{background:0 0;border:.5em solid #88ac0b}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input:focus,select:focus,textarea:focus{border-color:#b9b4aa #cbc5bb #cbc5bb}table{border-collapse:collapse;width:100%}table caption{caption-side:bottom}table td,table th{border:1px solid #fff;padding:5px 10px;text-align:left;vertical-align:top}table td{background:#f8f8f8}table tr:nth-child(odd) td{background:#f3f3f3}textarea{height:auto;min-height:6rem;resize:vertical}::-moz-color-swatch{border:0}::-webkit-color-swatch{border:0}::-webkit-color-swatch-wrapper{padding:0}:disabled,[role=button]:not(:any-link){box-shadow:none;cursor:not-allowed;opacity:.6}.content,.footer{border-top:1px solid #e5e5e5;box-shadow:inset 0 1px 0 #fff}.banner{background:#f2f0f1;margin:0;padding:5px 0}.banner [role=img],.banner img{background:0 0;border:0;margin:0;padding:0}.footer .widget [role=tree]:last-child,.footer .widget ul li{border-bottom-color:#e5e5e5}#comments,.page+.page{margin-top:25px}.banner+h2,.header+h2{display:none}.content{background:linear-gradient(#f2f2f2,#fff) repeat-x #fff;background-size:100% 350px;display:flex;margin:5px 0}.footer{background:#f2f0f1;margin:0;padding:5px}.footer>div{display:flex;flex-wrap:wrap}.footer>div .aside{flex:1}.footer>div+div{justify-content:center;margin:0;padding:15px}.footer>div+div [role=link],.footer>div+div a{color:#895f30}.footer>div+div [role=link]:focus,.footer>div+div [role=link]:hover,.footer>div+div a:focus,.footer>div+div a:hover{color:#444;text-decoration:none}.footer>div+div p{display:flex;gap:15px}.footer .widget h4{color:#976834;margin-left:10px}.footer .widget ul{border-top-color:#e5e5e5}.footer .widget ul li [role=link],.footer .widget ul li a{color:inherit}.footer .widget ul li [role=link]:focus,.footer .widget ul li [role=link]:hover,.footer .widget ul li a:focus,.footer .widget ul li a:hover{color:#444;text-decoration:none}.footer .widget ul li [aria-current]{color:#444}.footer .widget [role=tree]{border-top-color:#e5e5e5}.footer .widget [role=tree][open]>summary [role=link],.footer .widget [role=tree][open]>summary a{color:#444}.footer .widget [role=tree]>summary [role=link],.footer .widget [role=tree]>summary a{color:inherit}.header h1,.nav+h2+ul [role=link]:focus,.nav+h2+ul [role=link]:hover,.nav+h2+ul a:focus,.nav+h2+ul a:hover{color:#111}.footer .widget [role=tree]>summary [role=link]:focus,.footer .widget [role=tree]>summary [role=link]:hover,.footer .widget [role=tree]>summary a:focus,.footer .widget [role=tree]>summary a:hover{color:#444;text-decoration:none}.widget [role=tree]:last-child,.widget ul li{border-bottom:1px solid #ebebeb}.header{background:#f6efbb;box-shadow:inset 0 3px 0 #eae0ad;color:#5b4a29;height:85px}.header h1{font:inherit;font-size:40px;letter-spacing:-1.5px;line-height:1;padding:10px 15px 0}.header h1 [role=link],.header h1 a{color:inherit;text-decoration:none}.header h1 [role=link]:focus,.header h1 a:focus{opacity:.75}.header p{font-size:15px;margin:0;padding:0 18px}.nav li,.nav ul,.nav+h2+ul,.nav+h2+ul li{margin:0;padding:0;list-style:none}.aside,.main{margin:0;padding:15px}.main{flex:1;min-width:0}.nav{background:linear-gradient(#9bb009,#aabd30) repeat-x #9bb009;color:#fff;font-family:var(--font-2);font-size:14px;height:45px;letter-spacing:1px;line-height:45px;margin:0}.nav ul{display:flex;flex-wrap:wrap}.nav [role=link],.nav a{border-left:1px solid rgba(255,255,255,.175);border-right:1px solid rgba(0,0,0,.125);color:inherit;display:block;padding:0 15px;text-decoration:none}.nav [role=link]:focus,.nav [role=link]:hover,.nav a:focus,.nav a:hover{background:rgba(0,0,0,.025)}.nav [role=link]:active,.nav a:active{background:rgba(0,0,0,.045)}.nav [role=mark],.nav mark{background:rgba(0,0,0,.125)}.nav li:first-child [role=link],.nav li:first-child a{border-left-width:0}.page>footer,[role=doc-toc]{border:1px solid #eae7db;font-size:95%;padding:5px 10px;background:#fafae7}.nav+h2{display:none}.nav+h2+ul{color:#5b4a29;display:flex;flex-wrap:wrap;line-height:1;position:absolute;right:25px;top:25px}.nav+h2+ul [role=link],.nav+h2+ul a{color:inherit;text-decoration:none}.nav+h2+ul li+li{border-left:1px solid #eae0ad;margin-left:5px;padding-left:5px}.page>footer{margin:15px 0 0;color:#99997d}.page>header h2,.page>header h3{color:#895f30;letter-spacing:-1px;margin:0}.page>header h2 [role=link],.page>header h2 a,.page>header h3 [role=link],.page>header h3 a{color:inherit}.page>header h2{font-size:250%}.page>header h3{font-size:220%}.page>header p{margin:0 0 8px}.page>header p time{color:#899b0d;display:block;font-family:var(--font-1);font-size:180%;line-height:1.2}.comments h3,.widget ul li [role=link],.widget ul li a{color:#895f30}.page p[role=group]{display:flex;flex-wrap:wrap;gap:1em}.pager{margin:25px 0 0}.pager li,.pager ul{list-style:none;margin:0;padding:0}.widget [role=tree] li,.widget h4{margin-left:5px}.pager ul{display:flex;justify-content:space-between}.widget [role=link] [role=status],.widget a [role=status]{color:#999}.widget [role=link] [role=status]::after,.widget a [role=status]::after{content:")"}.widget [role=link] [role=status]::before,.widget a [role=status]::before{content:"("}.widget h4{font-size:160%}.widget h4+*{margin-top:10px}.widget p{padding:0 5px}.widget ul{border-top:1px solid #ebebeb;list-style:none;margin-left:0;margin-right:0}.widget ul li{padding:5px}.widget ul li [role=link]:focus,.widget ul li [role=link]:hover,.widget ul li a:focus,.widget ul li a:hover{color:#1773bc;text-decoration:none}.widget ul [aria-current]{color:inherit}.widget [role=tree]{border-top:1px solid #ebebeb;padding:5px}.widget [role=tree] li,.widget [role=tree] ul{border:0}.widget [role=tree] ul{margin-top:5px}.widget [role=tree]+[role=tree]{margin-top:0}.is\:pages .main>.page>header{border-bottom:1px dashed #e5e5e5;display:none;padding-bottom:15px}.is\:pages.with\:page-header .main>.page>header{display:block}.is\:pages.with\:page-header .main>.page>header p{font-size:120%;margin-top:8px}.is\:pages .page figure{float:left;margin-right:15px}.is\:pages .page::after{clear:both;content:"";display:table}[role=button]:active,[role=button]:focus,[role=button]:hover{color:#fff;text-decoration:none}[role=alert]{background:#ffffd8;border:1px solid rgba(0,0,0,.125);font-size:95%;padding:5px 10px}[role=alert][aria-live=assertive]{background:#ffd8d8}[role=alert][aria-live=off]{background:#d8d8ff}[role=alert][aria-live=polite]{background:#d8ebd8}.comment .comments,.comment+.comment,.comments,.comments-body,.comments-footer{margin-top:15px}.comments h3{font-size:220%;letter-spacing:-1px;margin:0}.comments .comment-author{color:inherit}.comments .comment-footer,.comments .comment-header,.comments [role=status],.comments input+br+small,.comments select+br+small,.comments textarea+br+small{color:#99997d;font-size:100%}[role=doc-endnotes]{color:#99997d}form[name=pass],form[name=user]{background:#fff;box-shadow:0 0 4px rgba(0,0,0,.5);margin-left:-30px;margin-right:-30px;padding:15px}form[name=search] [role=button],form[name=search] button,form[name=search] input[type=button],form[name=search] input[type=reset],form[name=search] input[type=submit]{margin-left:3px}form[name=search] input{background:#fff;border-color:#d5d5d5 #e5e5e5 #e5e5e5;flex:1;max-width:100%;min-width:0}form[name=search] input:focus{border-color:#c5c5c5 #d5d5d5 #d5d5d5}form[name=search] p{display:flex;margin:0}[role=doc-toc]{color:#99997d}[role=doc-toc]>summary::before{display:none}[role=doc-toc] [role=doc-pagelist] li::after,[role=doc-toc] [role=doc-pagelist] li::before{border-color:#eae7db}[role=doc-toc] [role=doc-pagelist] li:last-child::after{background:#fafae7} \ No newline at end of file +[role=img],img,kbd{background:#fafafa}dl,ol ol,ol ul,ul ol,ul ul{margin-left:15px}.body,details>summary,sub,sup{position:relative}.footer .widget [role=tree],.footer .widget p,.footer .widget ul li{padding-left:10px;padding-right:10px}.footer .widget h4,.nav,.nav+h2+ul,h6{text-transform:uppercase}*,::after,::before{background:0 0;border:0;box-sizing:border-box;color:inherit;font:inherit;margin:0;padding:0;text-align:inherit;text-decoration:none;word-wrap:break-word}::-moz-focus-inner{border:0;margin:0;outline:0;padding:0}:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,ol,p,pre,search,section,table,ul)+:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,ol,p,pre,search,section,table,ul){margin-top:15px}li:where(:not(:first-child))>:where(address,article,aside,blockquote,dd,details,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,p,pre,search,section,table):where(:first-child){margin-top:15px}::placeholder{opacity:.5}:root{--font-0:Verdana,"Bitstream Vera Sans","DejaVu Sans",Tahoma,Helvetica,Arial,Geneva,sans-serif;--font-1:"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;--font-2:"Century Gothic","Apple Gothic","Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;--font-3:Georgia,Times,serif;--font-4:Consolas,"Nimbus Mono L",monospace;background:url("back.jpg") 50% 0 repeat-x #f7f0e3;color:#666;font:normal normal 11px/1.6 var(--font-0);text-align:left}.comments .comment-author,.footer .widget h4,.nav,.nav+h2+ul,b,blockquote,dt,h5,h6,legend,strong,th{font-weight:700}[role=link],a{color:#5a93c9;cursor:pointer}[role=link]:focus,[role=link]:hover,a:focus,a:hover{color:#88ac0b;text-decoration:underline}[aria-current][role=link],[aria-disabled][role=link],a[aria-current],a[aria-disabled]{color:inherit;cursor:default;text-decoration:none}em,i,var{font-style:italic}[role=button],button,input,input[type=button],input[type=reset],input[type=submit],output,select,textarea{accent-color:#88ac0b;background:#f7f0e3;border:1px solid #d8d2c7;border-top-color:#d2ccc1;color:#777;display:inline-block;max-width:12rem;padding:3px 5px;position:relative;text-decoration:none;vertical-align:middle;width:12rem}.nav [role=link],.nav a,[role=button],button,details>summary,input[type=button],input[type=checkbox],input[type=color],input[type=file],input[type=image],input[type=radio],input[type=range],input[type=reset],input[type=submit],label,select{cursor:pointer;user-select:none}[role=deletion],del,s{text-decoration:line-through}small,sub,sup{font-size:90%}[role=insertion],abbr[title]:hover,ins,u{text-decoration:underline}abbr[title]{cursor:help}audio,iframe,picture,video{display:block;height:auto;width:100%}blockquote{background:url("quote.jpg") 5px 5px no-repeat #fafae7;border:1px solid #f4f3ec;color:#976957;font-family:var(--font-1);font-size:130%;line-height:1.2;margin-left:10px;margin-right:10px;padding:5px 10px 5px 45px}blockquote blockquote{font-size:100%;margin-left:1rem}caption,figcaption{color:#99997d;margin:5px 0 0;text-align:center}code{font-family:var(--font-4)}details>summary{display:block;padding-left:15px}details>summary::before{border-bottom:4px solid transparent;border-left:8px solid #666;border-right:0 solid transparent;border-top:4px solid transparent;content:"";height:0;left:0;margin-top:-4px;position:absolute;top:50%;width:0}details>summary:hover::before{border-left-color:#444}fieldset,kbd{border:1px solid #e5e5e5}details[open]>summary{margin-bottom:15px}details[open]>summary::before{border-bottom:0 solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;border-top:8px solid #666;margin-top:-3px}fieldset{padding:15px}figure{text-align:center}figure [role=img],figure img{display:block;margin-left:auto;margin-right:auto}form>p>label{border-top:1px solid transparent;padding-top:3px}h1,h2,h3,h4,h5,h6{color:#899b0d;font-family:var(--font-1);line-height:1.2}h1{font-size:240%}h2{font-size:190%}h3{font-size:150%}h4{font-size:120%}h5,h6{font-size:100%}h6{font-size:90%}[role=button],button,input[type=button],input[type=reset],input[type=submit],table th{background:linear-gradient(#9bb009,#aabd30) repeat-x #9bb009;font-size:110%;color:#fff;font-family:var(--font-1)}hr{border-top:1px dashed #e5e5e5}[role=img],img{border:1px solid #dcdcdc;height:auto;max-width:100%;padding:5px}kbd{padding:2px 3px}legend{padding:0 5px}[role=mark],mark{background:#fff399}ol{list-style:decimal}sub,sup{top:.25rem;vertical-align:middle}sup{top:-.25rem}ul{list-style:disc url("data:image/gif;base64,R0lGODlhCAAMAKUqAJW7HajHR7jXbaTFQJ3AMZ3CMLPTYqDENvj68Pz9+fn786PHP/7+/NXjp6THPv3+/KPGPJW8HsnbjpvAK6HEOJS7HPr89ff675W7H5q/Kdbkq6DBNsjai8rcj/v8+NvntLXPZLTUZavJTqPEPbrYcv///vr89sHWfbzTcbfQaP///////////////////////////////////////////////////////////////////////////////////////yH5BAEAAD8ALAAAAAAIAAwAAAYswJ9wSCwaj0jjaTTgDFGRBQTQERIcJMEhINxQQoaCSCipTDIYzbABSn2SvyAAOw==")}dl{margin-right:15px}ol,ul{margin-left:30px}pre{overflow:auto;white-space:pre-wrap}pre code{background:#fafae7;border:1px solid #f4f3ec;display:block;padding:10px}[role=button],button,input[type=button],input[type=reset],input[type=submit]{border:0;font-weight:700;max-width:unset;padding-left:8px;padding-right:8px;width:auto}.header,.nav+h2+ul{font-family:var(--font-3)}input[type=checkbox],input[type=color],input[type=file],input[type=image],input[type=radio],input[type=range]{background:0 0;border:0;box-shadow:none;height:auto;line-height:inherit;max-width:unset;padding:0;width:auto}input[type=color]{height:2.25rem;max-width:unset;width:2.25rem}input[type=checkbox],input[type=radio]{-webkit-appearance:none;appearance:none;background:#88ac0b;border-radius:3px;height:1.1em;margin:-.25em 0 0;max-height:1.1em;max-width:1.1em;min-height:1.1em;min-width:1.1em;width:1.1em}.footer>div,.header h1,.is\:pages .main>.page>header p,.widget [role=tree][open]>summary{margin-bottom:0}input[type=checkbox]:checked::before{border-bottom:1px solid #fff;border-left:1px solid #fff;content:"";height:.3em;left:.25em;position:absolute;top:.26em;transform:rotate(-45deg);width:.5em}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=radio]{border-radius:100%}input[type=radio]:checked{background:0 0;border:.5em solid #88ac0b}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input:focus,select:focus,textarea:focus{border-color:#b9b4aa #cbc5bb #cbc5bb}table{border-collapse:collapse;width:100%}table caption{caption-side:bottom}table td,table th{border:1px solid #fff;padding:5px 10px;text-align:left;vertical-align:top}table td{background:#f8f8f8}table tr:nth-child(odd) td{background:#f3f3f3}textarea{height:auto;min-height:6rem;resize:vertical}::-moz-color-swatch{border:0}::-webkit-color-swatch{border:0}::-webkit-color-swatch-wrapper{padding:0}:disabled,[role=button]:not(:any-link){box-shadow:none;cursor:not-allowed;opacity:.6}[role=button]:active,[role=button]:focus,[role=button]:hover{color:#fff;text-decoration:none}.aside{width:280px}.banner{background:#f2f0f1;margin:0;padding:5px 0}.banner [role=img],.banner img{background:0 0;border:0;margin:0;padding:0}.footer .widget [role=tree]:last-child,.footer .widget ul li{border-bottom-color:#e5e5e5}#comments,.page+.page{margin-top:25px}.banner+h2,.header+h2{display:none}.body{background:#fff;box-shadow:0 0 4px rgba(0,0,0,.5);margin:50px auto;padding:15px;width:900px}.content,.footer{border-top:1px solid #e5e5e5;box-shadow:inset 0 1px 0 #fff}.content{background:linear-gradient(#f2f2f2,#fff) repeat-x #fff;background-size:100% 350px;display:flex;margin:5px 0}.footer{background:#f2f0f1;margin:0;padding:5px}.aside,.footer>div+div,.main{padding:15px;margin:0}.footer>div{display:flex;flex-wrap:wrap}.footer>div .aside{flex:1}.footer>div+div{justify-content:center}.footer>div+div [role=link],.footer>div+div a{color:#895f30}.footer>div+div [role=link]:focus,.footer>div+div [role=link]:hover,.footer>div+div a:focus,.footer>div+div a:hover{color:#444;text-decoration:none}.footer>div+div p{display:flex;gap:15px}.footer .widget h4{color:#976834;margin-left:10px}.footer .widget ul{border-top-color:#e5e5e5}.footer .widget ul li [role=link],.footer .widget ul li a{color:inherit}.footer .widget ul li [role=link]:focus,.footer .widget ul li [role=link]:hover,.footer .widget ul li a:focus,.footer .widget ul li a:hover{color:#444;text-decoration:none}.footer .widget ul li [aria-current]{color:#444}.footer .widget [role=tree]{border-top-color:#e5e5e5}.footer .widget [role=tree][open]>summary [role=link],.footer .widget [role=tree][open]>summary a{color:#444}.footer .widget [role=tree]>summary [role=link],.footer .widget [role=tree]>summary a{color:inherit}.header h1,.nav+h2+ul [role=link]:focus,.nav+h2+ul [role=link]:hover,.nav+h2+ul a:focus,.nav+h2+ul a:hover{color:#111}.footer .widget [role=tree]>summary [role=link]:focus,.footer .widget [role=tree]>summary [role=link]:hover,.footer .widget [role=tree]>summary a:focus,.footer .widget [role=tree]>summary a:hover{color:#444;text-decoration:none}.widget [role=tree]:last-child,.widget ul li{border-bottom:1px solid #ebebeb}.header{background:#f6efbb;box-shadow:inset 0 3px 0 #eae0ad;color:#5b4a29;height:85px}.header h1{font:inherit;font-size:40px;letter-spacing:-1.5px;line-height:1;padding:10px 15px 0}.header h1 [role=link],.header h1 a{color:inherit;text-decoration:none}.header h1 [role=link]:focus,.header h1 a:focus{opacity:.75}.header p{font-size:15px;margin:0;padding:0 18px}.main{flex:1;min-width:0}.nav{background:linear-gradient(#9bb009,#aabd30) repeat-x #9bb009;color:#fff;font-family:var(--font-2);font-size:14px;height:45px;letter-spacing:1px;line-height:45px;margin:0}.nav [role=link],.nav a{border-left:1px solid rgba(255,255,255,.175);border-right:1px solid rgba(0,0,0,.125);color:inherit;display:block;padding:0 15px;text-decoration:none}.nav li,.nav ul,.nav+h2+ul,.nav+h2+ul li{margin:0;padding:0;list-style:none}.nav [role=link]:focus,.nav [role=link]:hover,.nav a:focus,.nav a:hover{background:rgba(0,0,0,.025)}.nav [role=link]:active,.nav a:active{background:rgba(0,0,0,.045)}.nav [role=mark],.nav mark{background:rgba(0,0,0,.125)}.nav li:first-child [role=link],.nav li:first-child a{border-left-width:0}.page>footer,[role=doc-toc]{border:1px solid #eae7db;font-size:95%;padding:5px 10px;background:#fafae7}.nav ul{display:flex;flex-wrap:wrap}.nav+h2{display:none}.nav+h2+ul{color:#5b4a29;display:flex;flex-wrap:wrap;line-height:1;position:absolute;right:25px;top:25px}.nav+h2+ul [role=link],.nav+h2+ul a{color:inherit;text-decoration:none}.nav+h2+ul li+li{border-left:1px solid #eae0ad;margin-left:5px;padding-left:5px}.page>footer{margin:15px 0 0;color:#99997d}.page>header h2,.page>header h3{color:#895f30;letter-spacing:-1px;margin:0}.page>header h2 [role=link],.page>header h2 a,.page>header h3 [role=link],.page>header h3 a{color:inherit}.page>header h2{font-size:250%}.page>header h3{font-size:220%}.page>header p{margin:0 0 8px}.page>header p time{color:#899b0d;display:block;font-family:var(--font-1);font-size:180%;line-height:1.2}.comments h3,.widget ul li [role=link],.widget ul li a{color:#895f30}.page p[role=group]{display:flex;flex-wrap:wrap;gap:1em}.pager{margin:25px 0 0}.pager li,.pager ul{list-style:none;margin:0;padding:0}.widget [role=tree] li,.widget h4{margin-left:5px}.pager ul{display:flex;justify-content:space-between}.widget [role=link] [role=status],.widget a [role=status]{color:#999}.widget [role=link] [role=status]::after,.widget a [role=status]::after{content:")"}.widget [role=link] [role=status]::before,.widget a [role=status]::before{content:"("}.widget h4{font-size:160%}.widget h4+*{margin-top:10px}.widget p{padding:0 5px}.widget ul{border-top:1px solid #ebebeb;list-style:none;margin-left:0;margin-right:0}.widget ul li{padding:5px}.widget ul li [role=link]:focus,.widget ul li [role=link]:hover,.widget ul li a:focus,.widget ul li a:hover{color:#1773bc;text-decoration:none}.widget ul [aria-current]{color:inherit}.widget [role=tree]{border-top:1px solid #ebebeb;padding:5px}.widget [role=tree] li,.widget [role=tree] ul{border:0}.widget [role=tree] ul{margin-top:5px}.widget [role=tree]+[role=tree]{margin-top:0}.is\:pages .main>.page>header{border-bottom:1px dashed #e5e5e5;display:none;padding-bottom:15px}.is\:pages.with\:page-header .main>.page>header{display:block}.is\:pages.with\:page-header .main>.page>header p{font-size:120%;margin-top:8px}.is\:pages .page figure{float:left;margin-right:15px}.is\:pages .page::after{clear:both;content:"";display:table}[role=alert]{background:#ffffd8;border:1px solid rgba(0,0,0,.125);font-size:95%;padding:5px 10px}[role=alert][aria-live=assertive]{background:#ffd8d8}[role=alert][aria-live=off]{background:#d8d8ff}[role=alert][aria-live=polite]{background:#d8ebd8}.comment .comments,.comment+.comment,.comments,.comments-body,.comments-footer{margin-top:15px}.comments h3{font-size:220%;letter-spacing:-1px;margin:0}.comments .comment-author{color:inherit}.comments .comment-footer,.comments .comment-header,.comments [role=status],.comments input+br+small,.comments select+br+small,.comments textarea+br+small{color:#99997d;font-size:100%}[role=doc-endnotes]{color:#99997d}form[name=pass],form[name=user]{background:#fff;box-shadow:0 0 4px rgba(0,0,0,.5);margin-left:-30px;margin-right:-30px;padding:15px}form[name=search] [role=button],form[name=search] button,form[name=search] input[type=button],form[name=search] input[type=reset],form[name=search] input[type=submit]{margin-left:3px}form[name=search] input{background:#fff;border-color:#d5d5d5 #e5e5e5 #e5e5e5;flex:1;max-width:100%;min-width:0}form[name=search] input:focus{border-color:#c5c5c5 #d5d5d5 #d5d5d5}form[name=search] p{display:flex;margin:0}[role=doc-toc]{color:#99997d}[role=doc-toc]>summary::before{display:none}[role=doc-toc] [role=doc-pagelist] li::after,[role=doc-toc] [role=doc-pagelist] li::before{border-color:#eae7db}[role=doc-toc] [role=doc-pagelist] li:last-child::after{background:#fafae7} \ No newline at end of file diff --git a/page.php b/page.php index e99508f..f2b2272 100644 --- a/page.php +++ b/page.php @@ -1,6 +1,6 @@ exist): ?> -
+
has('page') && $site->has('parent')): ?>