summaryrefslogtreecommitdiff
path: root/prolog/style.css
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 19:32:04 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 19:32:04 +0100
commit7335a43bbbb82de66132f12e504f2fbea736a45c (patch)
treeff08317c712353c58c9630ad7f6e94caebbc8798 /prolog/style.css
parente756acb31c54558ee16a0bbcda13f991b7d4f714 (diff)
Prolog: add general and family relations intro
Diffstat (limited to 'prolog/style.css')
-rw-r--r--prolog/style.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/prolog/style.css b/prolog/style.css
new file mode 100644
index 0000000..2000a50
--- /dev/null
+++ b/prolog/style.css
@@ -0,0 +1,60 @@
+body {
+ max-width: 60em;
+ margin: 0 auto;
+ padding: 1em;
+ hyphens: auto;
+ -moz-hyphens: auto;
+ -ms-hyphens: auto;
+ -webkit-hyphens: auto;
+}
+
+figure {
+ margin: 0 auto;
+}
+figure > figcaption {
+ text-align: center;
+ width: 100%;
+}
+figure img {
+ display: block;
+ margin: 0.25em auto;
+ max-width: 80%;
+}
+
+li > p {
+ margin: 0;
+}
+li > p:last-child {
+ margin-bottom: 0.5em;
+}
+
+p {
+ text-align: justify;
+}
+
+/* code snippets */
+code, pre {
+ font-size: 0.95em;
+}
+
+code {
+ background-color: #f4f2f9;
+ color: #1525c6;
+ padding: 0.1em 0.2em;
+}
+
+pre {
+ padding: 0.5em 1em;
+ margin: 0 0 10px;
+ color: #333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+/* CodeQ name in small caps */
+span.codeq {
+ font-variant: small-caps;
+}