diff options
author | Akshay <[email protected]> | 2020-04-16 09:11:16 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-16 09:11:16 +0100 |
commit | 1dff5366ecb4537a3455a915c6b7f913333ef104 (patch) | |
tree | d9ef63763ddffb0d5b8214db6e679b00891916fc /docs | |
parent | 2fda85fccb23212747828d0f3f55ae16e5ff956b (diff) |
fresh styles for captioned images
Diffstat (limited to 'docs')
-rw-r--r-- | docs/style.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/style.css b/docs/style.css index 9f749e2..379e56f 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -96,6 +96,10 @@ h4, h5, h6 { | |||
96 | margin-bottom: 2rem; | 96 | margin-bottom: 2rem; |
97 | } | 97 | } |
98 | 98 | ||
99 | figcaption { | ||
100 | text-align: center; | ||
101 | } | ||
102 | |||
99 | table { | 103 | table { |
100 | width: 100%; | 104 | width: 100%; |
101 | border-collapse: collapse; | 105 | border-collapse: collapse; |
@@ -120,16 +124,14 @@ td { | |||
120 | } | 124 | } |
121 | 125 | ||
122 | pre, code { | 126 | pre, code { |
123 | color: var(--black); | ||
124 | font-family: monospace; | 127 | font-family: monospace; |
125 | } | 128 | } |
126 | 129 | ||
127 | pre { | 130 | pre { |
128 | overflow: auto; | 131 | overflow: auto; |
129 | padding: 1.3rem; | 132 | padding: 1rem; |
130 | border: 2px solid var(--dark-white); | 133 | border: 2px solid var(--dark-white); |
131 | border-radius: 0.4rem; | 134 | border-radius: 0.4rem; |
132 | margin: 1rem -1.3rem; | ||
133 | } | 135 | } |
134 | 136 | ||
135 | code { | 137 | code { |