瀏覽代碼

Style updates

Moritz Schmidt 9 年之前
父節點
當前提交
e2365c92de
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. 2 2
      index.php
  2. 6 0
      style.css

+ 2 - 2
index.php

@@ -96,7 +96,7 @@
                       <div class="row"><?php
                         while($tdaQuery->have_posts()) {
                           $tdaQuery->the_post(); ?>
-                          <div class="col-md-3 col-xs-6 tda-item" style="padding-bottom: 15px;">
+                          <div class="col-md-3 col-xs-4 tda-item" style="padding-bottom: 15px;">
                             <div class="relcontainer">
                               <a href="<?= get_permalink(); ?>">
                                 <?php if(has_post_thumbnail()) the_post_thumbnail('thumbnail', array('class' => 'tda-gallery-item')); ?>
@@ -208,7 +208,7 @@
                       <div class="row"><?php
                         while($tdaQuery->have_posts()) {
                           $tdaQuery->the_post(); ?>
-                          <div class="col-md-3 col-xs-6 tda-item" style="padding-bottom: 15px;">
+                          <div class="col-md-3 col-xs-4 tda-item" style="padding-bottom: 15px;">
                             <div class="relcontainer">
                               <a href="<?= get_permalink(); ?>">
                                 <?php if(has_post_thumbnail()) the_post_thumbnail('thumbnail', array('class' => 'tda-gallery-item')); ?>

+ 6 - 0
style.css

@@ -15,6 +15,12 @@ Text Domain: ams2016
   background: none !important;
 }
 
+#nav > div > div.clearfix > a {
+  font-family: 'Special Elite', cursive;
+  line-height: 2.15rem;
+  max-width: calc(100% - 60px);
+}
+
 .carousel-control .icon-next::before, .carousel-control .icon-prev::before {
   content: none;
 }