diff options
Diffstat (limited to 'themes/mytheme/static')
| -rw-r--r-- | themes/mytheme/static/css/fonts.css | 7 | ||||
| -rw-r--r-- | themes/mytheme/static/css/style.css | 107 | ||||
| -rw-r--r-- | themes/mytheme/static/js/code.js | 20 |
3 files changed, 134 insertions, 0 deletions
diff --git a/themes/mytheme/static/css/fonts.css b/themes/mytheme/static/css/fonts.css new file mode 100644 index 0000000..9985030 --- /dev/null +++ b/themes/mytheme/static/css/fonts.css @@ -0,0 +1,7 @@ +@font-face { + font-family: "LM Mono"; + font-weight: normal; + font-style: normal; + src: url("/fonts/latin-modern-mono-regular.otf"); +} + diff --git a/themes/mytheme/static/css/style.css b/themes/mytheme/static/css/style.css new file mode 100644 index 0000000..1b6ecfe --- /dev/null +++ b/themes/mytheme/static/css/style.css @@ -0,0 +1,107 @@ +html { + font-family: + "LM Mono","Courier New",Courier,monospace; +} + +body, html { + margin-left:5px; + margin-top: 5px; + width:97%; + height:97%; +} +h1 { + font-size: 40pt; + font-weight: bold; + text-shadow: 1px 1px 5px #690000; + color:#690000; + margin-left: 10px; + display: inline; +} + +h2 { + margin: 0px; + margin-left: 10px; + padding: 0px; + color: #0b0b0b; + font-weight: bold; + text-shadow: 0px 0px 3px #ababab; +} + +a { + text-decoration: none; + color: blue; +} + +img { + border-width: 10px; + box-shadow: 0 0 5px black; + border-radius: 10px; +} + +ul { + list-style-type: none; + margin: 0px; + padding-left: 10px; +} + +p { + margin: 10px; +} + +div { + display: inline-block; +} + +/* This enables the hexcode to flow. */ +pre { + margin-left: 10px; + position: relative; +} + +/* This is the navigation bar at the top*/ +#bar ul, +#bar li { + display: inline-block; + margin-top: 10px; + margin-bottom: 10px; + font-size: 20px; +} + +.container { + padding: 10px; + margin: 10px; + color: rgba(50, 50, 50, 1); + background: rgba(170, 170, 170, 0.3); + border-width: 2px; + border-color: #ababab; + border-radius: 10px; + width: 100%; + border-style: solid; + +} + +.terms { + font-size: 5pt; + color:black +} + +.avatar { + margin: 10px; + display: inline-block; +} + +.content-wrapper { + width: 100%; + margin-top: 5px; + height: 225px; + overflow-y: auto; + font-size: 19px; +} + +.c { + margin-right: -15px; + margin-top: 5px; + height: 225px; + overflow: hidden; + cursor: default +} diff --git a/themes/mytheme/static/js/code.js b/themes/mytheme/static/js/code.js new file mode 100644 index 0000000..fd2d33a --- /dev/null +++ b/themes/mytheme/static/js/code.js @@ -0,0 +1,20 @@ +// credit: www.jwz.org +setTimeout(function(){},0); +var p=0, q=-16, offset=50; + +function a(){ + if(window.setTimeout&&document.getElementsByTagName){ + var o=16; + + var b=document.getElementsByTagName("pre")[0]; + b.style.top=(p-o-offset)+"pt"; + var o=-(p-o)+"pt"; + p+=q; + + if(p<-2<<10||p>=0) q=-q; + + window.setTimeout(this.a,2<<6); + } +} +a(); +window.onload = a(); |
