Parcourir la source

properly align and center images in gallery as grid. also add github link to giessomat.

Thomas Buck il y a 3 ans
Parent
révision
2004658183
2 fichiers modifiés avec 9 ajouts et 1 suppressions
  1. 1
    0
      input/projects/giessomat.md
  2. 8
    1
      static/css/style.css

+ 1
- 0
input/projects/giessomat.md Voir le fichier

@@ -165,6 +165,7 @@ And building all this up on perf-boards is really not much work.
165 165
 ## Links
166 166
 
167 167
 You can find [all the source code for the device itself](https://git.xythobuz.de/thomas/giess-o-mat) (both the UI and the Controller) as well as the OpenSCAD [design files for the 3D printed parts](https://git.xythobuz.de/thomas/3d-print-designs/src/branch/master/giessomat) on my [Gitea instance](https://git.xythobuz.de).
168
+The project is also [mirrored on GitHub](https://github.com/xythobuz/giess-o-mat).
168 169
 
169 170
 ## License
170 171
 

+ 8
- 1
static/css/style.css Voir le fichier

@@ -131,9 +131,16 @@ span.font-small {
131 131
     font-size: 0.6em;
132 132
 }
133 133
 
134
+.lightgallery {
135
+    display: flex;
136
+    justify-content: space-around;
137
+    align-items: center;
138
+    flex-wrap: wrap;
139
+}
140
+
134 141
 .border {
135 142
     overflow: hidden;
136
-    height: auto;
143
+    height: max-content;
137 144
     display: inline-block;
138 145
     border-radius: 10px;
139 146
     vertical-align: middle;

Chargement…
Annuler
Enregistrer