diff options
author | Rohan Verma <hello@rohanverma.net> | 2020-05-19 21:50:36 +0300 |
---|---|---|
committer | Rohan Verma <hello@rohanverma.net> | 2020-05-19 21:50:36 +0300 |
commit | 609b542a5360032818370526e2839c04ebaaed0f (patch) | |
tree | c3aaf65af38af32a7da5ef6794780cb947e7760b /static | |
parent | 04502390cda6d3c2575587bfd2d6cb7c27e236c0 (diff) |
fix: minor design fixes
Diffstat (limited to 'static')
-rw-r--r-- | static/css/normalize.min.css | 2 | ||||
-rw-r--r-- | static/css/style.css | 49 |
2 files changed, 28 insertions, 23 deletions
diff --git a/static/css/normalize.min.css b/static/css/normalize.min.css new file mode 100644 index 0000000..87aa24d --- /dev/null +++ b/static/css/normalize.min.css @@ -0,0 +1,2 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none} +/*# sourceMappingURL=normalize.min.css.map */
\ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index d79d52e..8568ad9 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -16,11 +16,11 @@ body { margin: 0; height: 100%; line-height: 1.6em; - font-size: 17px; + font-size: 1.0em; } .small { - font-size: 13px; + font-size: 0.9em; } pre, code { @@ -29,6 +29,12 @@ pre, code { a { color: #005386; + padding: 2px; + text-decoration: none; +} + +a:hover { + text-decoration: underline; } #header a, #nav a, #menu a { @@ -36,7 +42,7 @@ a { } #nav a:hover { - background-color: #ddd; + background-color: #eee; } #menu { @@ -77,22 +83,27 @@ h1, h2, h3, h4, h5, h6 { h1 { margin: 1em 1ex 0.5ex 0; - font-size: 1.4em; + font-size: 1.6em; } h2 { margin: 1em 1ex 0.5ex 0; - font-size: 1.3em; + font-size: 1.5em; } h3 { margin: 1em 1ex 0.5ex 0; - font-size: 1.0em; + font-size: 1.3em; } h4 { margin: 1em 1ex 0.5ex 0; - font-size: 0.9em; + font-size: 1.2em; +} + +h5 { + margin: 1em 1ex 0.5ex 0; + font-size: 1.0em; } #headerSubtitle { @@ -113,7 +124,7 @@ h4 { float: left; margin: 0 1px 0 0; padding: 1em 0; - width: 200px; + width: 20%; } #nav ul { @@ -140,11 +151,10 @@ h4 { #main { min-height: 100%; margin: 0 0 0 10px; - max-width: 50em; + min-width: 75%; padding: 1.5em; + padding-top: 0em; border-left: 1px solid rgba(0, 0, 0, 0.1); - display: flex; - flex-direction: column; } .left { @@ -176,17 +186,6 @@ div.avatar { } table { - -ms-overflow-style: -ms-autohiding-scrollbar; - -webkit-overflow-scrolling: touch; - background-color: transparent; - margin-bottom: 1rem; - overflow-x: auto; - width: 100%; -} - - - -table { width:100%; border-collapse:collapse; margin:1.75rem 0; @@ -199,7 +198,7 @@ table th { padding:10px } table thead th { - font-size:10px + font-size:0.8em; } table tbody td:first-child { font-weight:700; @@ -236,6 +235,10 @@ img { max-width: 100%; } +.i-search { + margin-left: 5px; +} + @media only screen and (max-width:632px) { #content { flex-direction: column; |