summaryrefslogtreecommitdiff
path: root/src/ui/site.css
diff options
context:
space:
mode:
authorJonas Kohl2024-09-13 19:57:43 +0200
committerJonas Kohl2024-09-13 19:57:43 +0200
commit93817fef3ead7cfd4fcde25ea2bcec02d01310a4 (patch)
tree60f6ab69bbf2360d7cc518023090b8bf61bfd5b1 /src/ui/site.css
parent086e2d2668784469ec114f6e6fd2b3dace3d7c3b (diff)
A lot of changes again
Diffstat (limited to 'src/ui/site.css')
-rw-r--r--src/ui/site.css87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/ui/site.css b/src/ui/site.css
index 3c77e58..2979dd9 100644
--- a/src/ui/site.css
+++ b/src/ui/site.css
@@ -34,4 +34,91 @@ html.no-js .js-only.js-only.js-only {
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.33), 0 0 1px rgba(0,0,0,.33), 0 1px 1px rgba(0,0,0,.075) inset;
box-shadow: 0 1px 2px rgba(0,0,0,.33), 0 0 1px rgba(0,0,0,.33), 0 1px 1px rgba(0,0,0,.075) inset;
}
+.margin-right { margin-right: 8px; }
+.margin-left { margin-left: 8px; }
+.margin-top { margin-top: 8px; }
+.margin-bottom { margin-bottom: 8px; }
+.margin-right-2x { margin-right: 16px; }
+.margin-left-2x { margin-left: 16px; }
+.margin-top-2x { margin-top: 16px; }
+.margin-bottom-2x { margin-bottom: 16px; }
+.margin-right-3x { margin-right: 24px; }
+.margin-left-3x { margin-left: 24px; }
+.margin-top-3x { margin-top: 24px; }
+.margin-bottom-3x { margin-bottom: 24px; }
+.margin-right-4x { margin-right: 32px; }
+.margin-left-4x { margin-left: 32px; }
+.margin-top-4x { margin-top: 32px; }
+.margin-bottom-4x { margin-bottom: 32px; }
+.margin-right-0 { margin-right: 0; }
+.margin-left-0 { margin-left: 0; }
+.margin-top-0 { margin-top: 0; }
+.margin-bottom-0 { margin-bottom: 0; }
+.icon-well {
+ position: relative;
+ overflow: hidden;
+ z-index: 0;
+ padding-left: 56px;
+}
+.icon-well>.icon,
+.icon-well>.glyphicon {
+ font-size: 72px;
+ opacity: 0.67;
+ position: absolute;
+ left: 5px;
+ top: 50%;
+ -webkit-transform: translateY(-50%);
+ -ms-transform: translateY(-50%);
+ transform: translateY(-50%);
+ z-index: -1;
+ text-shadow: none;
+}
+.color-success { color: #5cb85c; }
+.color-info { color: #5bc0de; }
+.color-warning { color: #f0ad4e; }
+.color-danger { color: #d9534f; }
+.post-container.collapsed {
+ max-height: 800px;
+ position: relative;
+}
+.post-container.collapsed > .post-container-posts {
+ max-height: 800px;
+ overflow: hidden;
+}
+.post-container-controls {
+ display: none;
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-image: linear-gradient(transparent, white 56%);
+ padding: 80px 8px 8px;
+ text-align: center;
+ z-index: 0;
+}
+.post-container-controls::after {
+ content: "";
+ display: block;
+ position: absolute;
+ left: 0;
+ right: 0;
+ height: 1px;
+ background: #ddd;
+ z-index: -1;
+ top: 56%;
+}
+.post-container.collapsed > .post-container-controls {
+ display: block;
+}
+#i_pfp {
+ max-width: 200px;
+}
+.text-normal {
+ font-size: 14px;
+ line-height: 1.428;
+}
+.label.text-normal {
+ font-size: 10.5px;
+ line-height: 1;
+}