1
0
Quellcode durchsuchen

Single/Pages, Dropdown

Moritz Schmidt vor 9 Jahren
Ursprung
Commit
52712ae7e3
4 geänderte Dateien mit 52 neuen und 6 gelöschten Zeilen
  1. 29 0
      page.php
  2. 2 2
      single-tdas.php
  3. 2 2
      single.php
  4. 19 2
      style.css

+ 29 - 0
page.php

@@ -0,0 +1,29 @@
+<?php get_header(); ?>
+
+  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+
+    <div id="single" class="content-wrapper">
+      <div class="beam">
+        <div class="container clearfix">
+          <div class="row">
+            <div class="col-lg-1">
+              <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
+            </div>
+            <div class="col-lg-11">
+              <h1><?php the_title(); ?></h1>
+            </div>
+          </div>
+        </div>
+      </div>
+      <div class="container text-muted">
+        <div class="row">
+          <div class="col-lg-11 offset-lg-1">
+            <?php the_content(); ?>
+          </div>
+        </div>
+      </div>
+    </div>
+
+  <?php endwhile; endif; ?>
+
+<?php get_footer(); ?>

+ 2 - 2
single-tdas.php

@@ -9,7 +9,7 @@
             <div class="col-lg-1">
               <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
             </div>
-            <div class="col-md-11">
+            <div class="col-lg-11">
               <h1>Tag der Architektur <?php the_title(); ?></h1>
             </div>
           </div>
@@ -17,7 +17,7 @@
       </div>
       <div class="container text-muted">
         <div class="row">
-          <div class="col-md-11 offset-md-1">
+          <div class="col-lg-11 offset-lg-1">
             <?php the_content(); ?>
           </div>
         </div>

+ 2 - 2
single.php

@@ -9,7 +9,7 @@
             <div class="col-lg-1">
               <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
             </div>
-            <div class="col-md-11">
+            <div class="col-lg-11">
               <h1><?php the_title(); ?></h1>
             </div>
           </div>
@@ -17,7 +17,7 @@
       </div>
       <div class="container text-muted">
         <div class="row">
-          <div class="col-md-11 offset-md-1">
+          <div class="col-lg-11 offset-lg-1">
             <?php the_content(); ?>
           </div>
         </div>

+ 19 - 2
style.css

@@ -26,7 +26,7 @@ Text Domain: ams2016
   font-size: 25px;
 }
 
-.fa-chevron-right, .fa-chevron-left {
+.carousel-control .fa-chevron-right, .carousel-control .fa-chevron-left {
   background: #008238;
   border-radius: 50%;
   padding: 16px;
@@ -90,7 +90,9 @@ Text Domain: ams2016
 
 .content-wrapper {
   position: relative;
-  padding: 10px 0;
+  padding: 0;
+  padding-top: 1px;
+  margin-top: -1px;
   margin-bottom: 25px;
 }
 
@@ -263,6 +265,7 @@ Text Domain: ams2016
 
 .b-to-top {
   text-align: center;
+  padding-bottom: 5px;
 }
 
 .b-to-top a {
@@ -272,6 +275,16 @@ Text Domain: ams2016
   color: white;
 }
 
+@media(min-width: 544px) {
+  .menu-item.dropdown::after {
+    content: "\f0d7";
+    font: normal normal normal 14px/1 FontAwesome;
+    position: absolute;
+    right: -12px;
+    top: 12px;
+  }
+}
+
 @media (min-width: 768px) {
   .slick-slider .icon-next {
     right: -35px;
@@ -280,4 +293,8 @@ Text Domain: ams2016
   .slick-slider .icon-prev {
     left: -35px;
   }
+
+  .navbar-nav .nav-item {
+    margin-left: 1rem;
+  }
 }