Code layout change.
[wolnelektury.git] / src / wolnelektury / static / scss / book_text / other.scss
diff --git a/src/wolnelektury/static/scss/book_text/other.scss b/src/wolnelektury/static/scss/book_text/other.scss
new file mode 100644 (file)
index 0000000..9ccedd9
--- /dev/null
@@ -0,0 +1,52 @@
+nav #menu-other {
+    display: none;
+}
+
+
+#other {
+    ul {
+        list-style: none;
+        padding: 0;
+        margin: 1em 0;
+
+        li {
+            display: inline-block;
+
+            a {
+                display: block;
+            }
+        }
+    }
+}
+
+
+.other-text-close {
+    background: #000;
+    color: #ddd;
+    opacity: .5;
+    text-align: center;
+    padding: .5em;
+    font-weight: bold;
+}
+
+
+#other-text {
+    position: relative;
+    display: none;
+
+    .other-text-close {
+        position: absolute;
+        top: 0;
+        right: 0;
+    }
+}
+
+.other-text-close {
+    display: none;
+}
+
+.with-other-text {
+    .other-text-close {
+        display: block;
+    }
+}