summaryrefslogtreecommitdiff
path: root/content_template.pandoc
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-12-23 19:30:02 -0800
committeriximeow <me@iximeow.net>2023-12-23 19:30:02 -0800
commit38c7d2bd93557493e69f8fcb5d03e9dadfb95002 (patch)
tree263f157a8b97ff1b1476ea02bb0dce3320ce919b /content_template.pandoc
parentb29167eeee880c9f7f31194c94aadf715733bf99 (diff)
table styling, target highlighting
Diffstat (limited to 'content_template.pandoc')
-rw-r--r--content_template.pandoc23
1 files changed, 19 insertions, 4 deletions
diff --git a/content_template.pandoc b/content_template.pandoc
index 8b90413..cc0d3f6 100644
--- a/content_template.pandoc
+++ b/content_template.pandoc
@@ -6,13 +6,16 @@
<meta name="generator" content="pandoc" />
<style>
+ :target {
+ background: yellow;
+ }
body { background-color: #d7d7dd; }
code {
background-color: #ccc4c4;
}
.content {
margin: auto;
- width: 80%
+ width: 80%;
max-width: 50em;
}
/* colors pulled from my current terminal config.
@@ -71,7 +74,7 @@
/* error token - how does this differ from alert? */
.sourceCode .er { color: #D30102; font-weight: bold; }
- .header {
+ .main-header {
height: 128px;
color: #b0b0ff;
}
@@ -92,6 +95,18 @@
color: #808070;
background-color: #000000;
}
+
+ table {
+ border: 1px solid;
+ border-collapse: collapse;
+ }
+ td,th {
+ border: 1px solid;
+ padding-left: 3px;
+ padding-right: 3px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ }
</style>
$for(css)$
@@ -105,10 +120,10 @@
$endfor$
</head>
<body>
-<div class="header">
+<!--div class="main-header">
<a class="button" href="/writing/index.html">writing index</a>
<a class="button" href="/notes/index.html">main index</a>
-</div>
+</div-->
$for(include-before)$
$include-before$
$endfor$