Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Gollum-specific image styles

  • Loading branch information...
commit 118e0df2c331430065f3345a9f00551e463a9b2d 1 parent 59eaae8
eston authored
Showing with 61 additions and 0 deletions.
  1. +61 −0 lib/gollum/frontend/public/css/template.css
View
61 lib/gollum/frontend/public/css/template.css
@@ -196,6 +196,67 @@
padding: 5px 0 0;
}
+#template span.align-center {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+
+ #template span.align-center > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px auto 0;
+ text-align: center;
+ }
+
+ #template span.align-center span img {
+ margin: 0 auto;
+ text-align: center;
+ }
+
+#template span.align-right {
+ display: block;
+ overflow: hidden;
+ clear: both;
+}
+
+ #template span.align-right > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px 0 0;
+ text-align: right;
+ }
+
+ #template span.align-right span img {
+ margin: 0;
+ text-align: right;
+ }
+
+#template span.float-left {
+ display: block;
+ margin-right: 13px;
+ overflow: hidden;
+ float: left;
+}
+
+ #template span.float-left span {
+ margin: 13px 0 0;
+ }
+
+#template span.float-right {
+ display: block;
+ margin-left: 13px;
+ overflow: hidden;
+ float: right;
+}
+
+ #template span.float-right > span {
+ display: block;
+ overflow: hidden;
+ margin: 13px auto 0;
+ text-align: right;
+ }
+
/* Code */
#template code {
Please sign in to comment.
Something went wrong with that request. Please try again.