瀏覽代碼

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

Thomas Buck 3 年之前
父節點
當前提交
2004658183
共有 2 個檔案被更改,包括 9 行新增1 行删除
  1. 1
    0
      input/projects/giessomat.md
  2. 8
    1
      static/css/style.css

+ 1
- 0
input/projects/giessomat.md 查看文件

@@ -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 查看文件

@@ -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;

Loading…
取消
儲存