Просмотр исходного кода

Minor design changes: max image size + no shadow

Gogs лет назад: 8
Родитель
Сommit
ffcf4a4191
2 измененных файлов с 5 добавлено и 2 удалено
  1. 0 1
      themes/gildasch/layouts/index.html
  2. 5 1
      themes/gildasch/static/css/main.css

+ 0 - 1
themes/gildasch/layouts/index.html

@@ -1,7 +1,6 @@
1 1
 {{ partial "header.html" . }}
2 2
 
3 3
 <div id='content'>
4
-  <h1>A few recent posts</h1>
5 4
   <div class="row">
6 5
     {{ range $key, $value := .Paginator.Pages }}
7 6
     {{ .Render "grid" }}

+ 5 - 1
themes/gildasch/static/css/main.css

@@ -9,11 +9,15 @@ body {
9 9
   background-color:#263238;
10 10
   color:white;
11 11
   font-size:18px;
12
-  box-shadow: rgba(0, 0, 0, 0.05) 13px 0px 10px 2px;
12
+  /* box-shadow: rgba(0, 0, 0, 0.05) 13px 0px 10px 2px; */
13 13
   max-width:1000px;
14 14
   margin:auto;
15 15
 }
16 16
 
17
+img {
18
+    max-width:1000px;
19
+}
20
+
17 21
 /* Colors:
18 22
 background: #263238
19 23
 current-line #37474f