Browse Source

[GINR] center figure images

cgars 8 years ago
parent
commit
84bf993d5d
1 changed files with 18 additions and 0 deletions
  1. 18 0
      public/css/gogs.css

+ 18 - 0
public/css/gogs.css

@@ -3211,3 +3211,21 @@ footer .ui.language .menu {
   height: 40px;
   align-content: center;
 }
+
+figure {
+  float: right;
+  max-width: 600px;
+}
+figure img {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+figure figcaption {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+  font-style: italic;
+  text-align: justify;
+}