From: Michael Wallner Date: Fri, 11 Feb 2022 20:18:09 +0000 (+0100) Subject: unfuck style X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=bc86592d0e9c071c91c2e1714340731a7ac9d4c1;p=mdref%2Fmdref unfuck style --- diff --git a/public/index.css b/public/index.css index 5ce2db6..02cbbe7 100644 --- a/public/index.css +++ b/public/index.css @@ -67,7 +67,6 @@ div.page>ul, div.page>div>ul { position: relative; top: 2em; right: 0; - -webkit-transform: rotate(45deg); transform: rotate(45deg); text-decoration: none; font-weight: bold; @@ -205,7 +204,7 @@ a.permalink { color: #2e8b57; } -h1, li h3, th, footer { +h1, th, footer { background: #708090; color: #f5f5dc; } @@ -231,14 +230,6 @@ h1 a.permalink { margin-right: -.6em; } -li h3 { - border-radius: 4px; - display: inline-block; - width: auto; - padding: .2em; - margin: .5em 0 0 0; -} - div.page>h3, div.page>div>h3 { margin-left: 1.25em; } @@ -252,11 +243,11 @@ div.page>h6, div.page>div>h6 { margin-left: 2em; } -h1 .constant, pre>code .consant, li h3 .constant { +h1 .constant, pre>code .consant { color: #98fb98; } -h1 .var, pre>code .var, li h3 .var { +h1 .var, pre>code .var { color: #f4a460; } h1 { @@ -271,10 +262,13 @@ h3 { h4 { font-size: 100%; } -footer a, h1 a, pre>code a, li h3 a { +footer a, h1 a, pre>code a { color: #b0e0e6; } -li h3 { + +ul.sub-entries li { + list-style: circle; + margin-bottom: 2em; } li h3 a { text-decoration: none; @@ -287,7 +281,8 @@ li h3 a:hover { width: 80%; } .comments .activator { - width: 100%; + width: 80%; + display: inline-block; margin: auto; padding: 1em; background-color: slategrey; @@ -348,6 +343,6 @@ dd { line-height: 1.33; margin-left: 1em; } -h1, footer, table, .sidebar, pre>code, li h3 { +h1, footer, table, .sidebar, pre>code { box-shadow: 0 0 4px #708090; } diff --git a/views/mdref.phtml b/views/mdref.phtml index 2739f91..cce2d1f 100644 --- a/views/mdref.phtml +++ b/views/mdref.phtml @@ -11,7 +11,7 @@ hasFunctions()) : ?>

Functions:

-