diff --git a/static/js/search.js b/static/js/search.js index d3f7e3c..cda0abb 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -83,7 +83,7 @@ $( document ).ready(function() { divsuggestion.setAttribute("data-title", item.title); divsuggestion.setAttribute("data-uri", item.uri); divsuggestion.setAttribute("data-context", item.context); - divsuggestion.innerText = '>> ' + item.title; + divsuggestion.innerText = '\u23A2 ' + item.title; divsuggestion.appendChild(divcontext); return divsuggestion.outerHTML; }, diff --git a/static/onedark.css b/static/onedark.css new file mode 100644 index 0000000..2e9341c --- /dev/null +++ b/static/onedark.css @@ -0,0 +1,112 @@ +html *{ font-family: Dejavu Sans Mono, MesloGS NF, Menlo, Consolas, Monospace !important; } +body { text-decoration: none; color: #979FAD; background-color: #2F333D;} +blockquote { text-align: center; font-size: 16px; font-style: normal; line-height: 30px;} +pre { background-color: #282C34;color: #979FAD;border: 1px solid #282C34; font-size: 14px; padding-left: 2ch;padding-top:2ch; padding-bottom: 2ch; line-height: 18px; overflow: auto; } +code { background-color: #282C34; color: #979FAD; } +hr { height: 0px; } +a {color: inherit; text-decoration: solid underline;} +a:hover {color: #2979FF;} +details > summary{ background-color: #3A3F4B; font-size: 18px;} +details > summary:hover { background-color: #2F333D;} +details summary::-webkit-details-marker, +details summary::marker { content: "\1F4C1\20";} +.menu { line-height: 1em; font-size: 32px; line-height: 1em; text-decoration: none; } + +.HolyGrail, +.HolyGrail-body { + display: flex; + flex-direction: column; +} + +.HolyGrail-nav { + padding-right: 1em; + padding-top: 1em; + order: -1; + background-color: #3A3F4B; +} + +@media (min-width: 48em) { + .HolyGrail-body { + flex-direction: row; + flex: 1; + text-align: left; + } + + .HolyGrail-content { + flex: 1; + text-align: left; + margin-left: 1em; + margin-right: 1em; + border-top: 1px solid #979FAD; border-bottom: 1px solid #979FAD; + } + + .HolyGrail-nav, .HolyGrail-ads { + /* 12em is the width of the columns */ + flex: 0 0 14em; + background-color: #3A3F4B; + } + + + .HolyGrail-ads ul li { + list-style-type: none!important; + text-align: left; + border: none; + white-space: normal; + } + .HolyGrail-nav ul { + list-style-type: none!important; + padding-left : 0.3em; + margin: 0em; + text-align: left; + } + + .HolyGrail-nav li { + list-style-type: none!important; + padding-left : 1em; + margin: 0em; + text-align: left; + } + .HolyGrail-nav a{ + overflow-wrap: break-word; + + } + + .HolyGrail-nav a:hover{ + } + + .HolyGrail-nav a:before{ + content: ""; + } + + .HolyGrail-ads ul{ + padding-left: 0.5em; + padding-right: 0; + } + + + .HolyGrail-ads ul li:before { + content: "\203B\20"; + } + +} + +.search-container{ + position: relative; +} +.search-container input { + display: inline-block; + align: center; + margin-top: 8px; + margin-bottom: 16px; + width: 30%; + height: 42px; + background-color: #3A3F4B; + border: 1px solid #282C34; + font-weight: 20px; + color: #979FAD; + cursor: pointer; +} +.search-container input:focus { + border: 2px solid #282C34; + outline: 0 none; +} diff --git a/static/stylesheet.css b/static/stylesheet.css index e04c069..2e9341c 100644 --- a/static/stylesheet.css +++ b/static/stylesheet.css @@ -1,26 +1,16 @@ -html *{ font-family: Dejavu Sans Mono, MesloGS NF, Menlo, Consolas, Monospace !important; color: #222;} -body { text-decoration: none; color: #263238;} -h1 { font-size: 28px; } -h2 { font-size: 22px; margin-bottom: 2px; } -h3 { font-size: 14px; } -p { font-size: 16px; } +html *{ font-family: Dejavu Sans Mono, MesloGS NF, Menlo, Consolas, Monospace !important; } +body { text-decoration: none; color: #979FAD; background-color: #2F333D;} blockquote { text-align: center; font-size: 16px; font-style: normal; line-height: 30px;} - -pre { background-color: #263238;color: #eeffff;border: 1px solid #ddd; font-size: 14px; padding-left: 2ch;padding-top:2ch; padding-bottom: 2ch; line-height: 18px; overflow: auto; } -code { background-color: #263238; color: #eeffff; } +pre { background-color: #282C34;color: #979FAD;border: 1px solid #282C34; font-size: 14px; padding-left: 2ch;padding-top:2ch; padding-bottom: 2ch; line-height: 18px; overflow: auto; } +code { background-color: #282C34; color: #979FAD; } hr { height: 0px; } a {color: inherit; text-decoration: solid underline;} -a:hover {color: red;} -img { max-width: 100%; } -details { } -details > summary{ background-color: #eee; font-size: 18px;} - -details > summary:hover { background-color: #263238; color: #eee;} +a:hover {color: #2979FF;} +details > summary{ background-color: #3A3F4B; font-size: 18px;} +details > summary:hover { background-color: #2F333D;} details summary::-webkit-details-marker, details summary::marker { content: "\1F4C1\20";} -ul {} -ul:active {} -.menu { line-height: 1em; font-size: 24px; line-height: 1em; text-decoration: none; } +.menu { line-height: 1em; font-size: 32px; line-height: 1em; text-decoration: none; } .HolyGrail, .HolyGrail-body { @@ -32,14 +22,13 @@ ul:active {} padding-right: 1em; padding-top: 1em; order: -1; - background-color: #eee; + background-color: #3A3F4B; } @media (min-width: 48em) { .HolyGrail-body { flex-direction: row; flex: 1; - border-top: 1px solid #263238; border-bottom: 1px solid #263238; text-align: left; } @@ -48,12 +37,13 @@ ul:active {} text-align: left; margin-left: 1em; margin-right: 1em; + border-top: 1px solid #979FAD; border-bottom: 1px solid #979FAD; } .HolyGrail-nav, .HolyGrail-ads { /* 12em is the width of the columns */ flex: 0 0 14em; - background-color: #eee; + background-color: #3A3F4B; } @@ -82,7 +72,6 @@ ul:active {} } .HolyGrail-nav a:hover{ - background-color: #263238; color: #eee; } .HolyGrail-nav a:before{ @@ -96,7 +85,7 @@ ul:active {} .HolyGrail-ads ul li:before { - content: "\00BB\20"; + content: "\203B\20"; } } @@ -111,13 +100,13 @@ ul:active {} margin-bottom: 16px; width: 30%; height: 42px; - background-color: #eee; - border: 1px solid #263238; + background-color: #3A3F4B; + border: 1px solid #282C34; font-weight: 20px; - color: #263238; + color: #979FAD; cursor: pointer; } .search-container input:focus { - border: 2px solid #263238; + border: 2px solid #282C34; outline: 0 none; } diff --git a/templates/template.html b/templates/template.html index 677d0fc..c369ff7 100644 --- a/templates/template.html +++ b/templates/template.html @@ -15,22 +15,22 @@ {% endblock %} +