summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-10-04 16:16:35 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-10-04 16:16:35 +0200
commit92599a04c89429d5bbe99e81eb97186c7c0fc894 (patch)
tree2573daf384bbd236992ec5b1f37adca4914baa51 /style.css
parentb38db7fe532e60426099471ac4e8d46b38a12f62 (diff)
Use a single CSS file for all courses
Diffstat (limited to 'style.css')
-rw-r--r--style.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..e187d16
--- /dev/null
+++ b/style.css
@@ -0,0 +1,48 @@
+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 */
+pre {
+ margin: 0 0 10px;
+ color: #333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+span.codeq {
+ font-variant: small-caps;
+}