summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/public/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/public/style.css')
-rw-r--r--vhosts/blog/public/style.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/vhosts/blog/public/style.css b/vhosts/blog/public/style.css
index dd1e6c1e..71c69f94 100644
--- a/vhosts/blog/public/style.css
+++ b/vhosts/blog/public/style.css
@@ -100,6 +100,19 @@ a:hover {
.codeblock {
background-color: #f5f5f5;
+ position: relative;
+ margin: 1rem 0;
+ border-radius: 3px;
+ overflow: hidden;
+}
+
+.codeblock .filename {
+ background-color: #e0e0e0;
+ color: #333;
+ font-family: Monaco, Consolas, 'Courier New', Courier, monospace;
+ font-size: 0.9rem;
+ padding: 0.5rem 1rem;
+ border-bottom: 1px solid #ccc;
}
pre {