diff options
| author | Ryan Mehri <[email protected]> | 2020-05-15 10:49:22 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-15 10:49:22 -0600 |
| commit | d0c8ea3198794091d9e71e1513c3f4f3a4851c92 (patch) | |
| tree | 24cd91db97508a5d1a0c8051c32719d3dfc60bba /frontend/src/css | |
| parent | Merge pull request #22 from jackyzha0/paste-modal (diff) | |
| parent | fix typo (diff) | |
| download | ctrl-v-d0c8ea3198794091d9e71e1513c3f4f3a4851c92.tar.xz ctrl-v-d0c8ea3198794091d9e71e1513c3f4f3a4851c92.zip | |
Merge pull request #23 from jackyzha0/code-render
Code render
Diffstat (limited to 'frontend/src/css')
| -rw-r--r-- | frontend/src/css/index.css | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css index 32e4065..c0e669c 100644 --- a/frontend/src/css/index.css +++ b/frontend/src/css/index.css @@ -25,6 +25,31 @@ textarea, input[type=text], input[type=password], .Dropdown-root { margin: 1.7em 0; } +.codeBlock { + width: 100%; + font-size: 0.8em; + padding: calc(0.8em - 1px) !important; + border-radius: 3px; + border: 1px solid #565656; + background: #faf9f5; + outline: none; + margin: 1.7em 0; +} + +.codeBlock code:first-child { + margin-right: 10px; + border-radius: 0; + border-right: 1px solid #11111155; +} + +code, pre { + background: #00000000; + font-family: 'Roboto Mono', monospace; + padding: initial; + border-radius: 3px; + outline: none; +} + .Dropdown-root { cursor: pointer; } @@ -44,7 +69,7 @@ textarea, input[type=text], input[type=password], .Dropdown-root { } .Dropdown-placeholder { - width: 5em; + width: 7em; } .Dropdown-menu { @@ -98,7 +123,8 @@ input[type=submit], button[type=submit] { button[type=button] { font-family: 'Lora', serif; - width: 7em; + font-weight: 700; + width: 8em; padding: calc(0.8em - 1px) 1.5em; border-radius: 3px; color: #111111; |