Commit 756a528b authored by Michael Ochmann's avatar Michael Ochmann
Browse files

fixed sidebar; added footer menus;

parent b9df3b75
<?php
namespace FSI;
class FooterMenus {
public function __construct() {
add_action('after_setup_theme', [&$this, "register"]);
}
public function register() {
register_nav_menu("footer1", "Footer Spalte 1");
register_nav_menu("footer2", "Footer Spalte 2");
register_nav_menu("footer3", "Footer Spalte 3");
register_nav_menu("footer4", "Footer Spalte 4");
}
public static function getMenu($name) {
$locations = get_nav_menu_locations();
$menu = wp_get_nav_menu_object($locations[$name]);
if (!$menu)
return;
echo "<h4>$menu->name</h4>";
wp_nav_menu([
"menu" => $name
]);
}
}
\ No newline at end of file
......@@ -7,6 +7,7 @@ include_once(ABSPATH."wp-admin/includes/plugin.php");
class Theme {
private $backend;
private $mainMenu;
private $footerMenus;
private $widgets;
private $postTypes;
private $svgSupport;
......@@ -22,6 +23,7 @@ class Theme {
$this->svgSupport = new SVGSupport();
$this->postTypes = new PostTypes();
$this->mainMenu = new MainMenu();
$this->footerMenus = new FooterMenus();
$this->widgets = new WidgetManager();
}
......
......@@ -7,6 +7,7 @@
@import "bootstrap.min.css";
$bootstrap : #555;
$black : #333;
$fsi : #005196;
$grey : #ccc;
$light-grey : #eee;
......@@ -33,6 +34,16 @@ article.post {
}
fsi-tile.post fsi-title {
font-size: xx-large;
color: $black;
}
fsi-tile.sidebar li {
list-style: none;
font-size: medium;
}
article.loopPost {
margin-bottom: 40px;
font-size: medium;
}
article.page {
......
......@@ -28,19 +28,19 @@ div.subtype-svg\+xml div.filename {
.toggleSwitch {
position: relative;
height: 25px;
height: 29px;
width: 50px;
display: inline-block;
background: white;
border: solid 1px #ccc;
border-radius: 12px;
border-radius: 15px;
}
.toggleSwitch input {
border: none;
background: white;
outline: 0 !important;
box-shadow: none !important;
height: 25px;
height: 29px;
display: block;
margin: 0 !important;
width: 100% !important;
......@@ -56,10 +56,10 @@ div.subtype-svg\+xml div.filename {
width: 25px;
height: 25px;
position: absolute;
top: 0;
left: 0;
top: 2px;
left: 2px;
background: white;
box-shadow: 0 0 3px rgba(0,0,0,0.6);
box-shadow: 0 0 5px rgba(0,0,0,0.7);
border-radius: 50%;
transition: left 0.2s ease-in-out;
}
......@@ -67,5 +67,5 @@ div.subtype-svg\+xml div.filename {
background: #005196;
}
.toggleSwitch input:checked:after {
left: 25px;
left: 23px;
}
\ No newline at end of file
......@@ -3,4 +3,4 @@
*
* © 2016, Michael Ochmann
* CSS für die Homepage der Fachschaft Informatik an der Hochschule Trier.
*/@import"bootstrap.min.css";@font-face{font-family:"Linux Libertine";src:url("../fonts/LinuxLibertine.otf");}article.post{font-size:large;line-height:1.8em;padding:20px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-moz-column-gap:35px;-webkit-column-gap:35px;column-gap:35px;text-align:justify;}fsi-tile.post fsi-title{font-size:xx-large;}article.page{font-size:large;line-height:1.5em;}article.page img.eventCover{float:left;margin:0 25px 20px 0;}body{margin:0;padding:0;font-size:small;background:#005196;font-family:"Linux Libertine",Georgia,Times,serif;}footer{background:#eee;background:transparent;font-family:sans-serif;color:#222;box-sizing:border-box;box-shadow:0 2px 12px rgba(0,0,0,0.6) inset;}footer h4{font-family:"Linux Libertine",Georgia,Times,serif;font-size:large;}footer .overlay{background:rgba(0,0,0,0.8);padding:12px;padding-top:10px;box-sizing:border-box;color:#ffffff;}footer .overlay a{color:#ccc;}footer p{font-size:small;text-align:center;color:#888;margin:8% 0 0 0;}footer .social{margin-top:25px;}footer .social img{width:12%;margin-right:8px;transition:all 0.2s ease-in-out;}footer .social img:hover{transform:scale(1.1);}footer ul{list-style:none;padding-left:8%;}footer ul li{margin:8px 0;}footer h4{margin-top:25px;}fsi-calendar table{width:100%;}fsi-calendar table tr td{text-align:center;border:solid 1px#ccc;font-family:sans-serif;position:relative;}fsi-calendar table tr:first-child td{font-family:"Linux Libertine";}fsi-calendar table tr th{font-family:sans-serif;text-align:center;padding:6px;border:solid 1px#ccc;}fsi-calendar table a{display:block;padding:11px;font-size:medium;}fsi-calendar table a.today{box-shadow:0 0 12px rgba(0,0,0,0.3) inset;}fsi-calendar table a.hasEvent:after{content:"";display:block;position:absolute;bottom:0;left:0;width:100%;background:#005196;height:4px;transition:all 0.3s ease-in-out;}fsi-calendar table a.hasEvent:hover:after{width:84%;left:8%;}fsi-calendar table tr:first-child td{position:relative;}fsi-calendar table tr:first-child fsi-nav{display:inline-block;position:absolute;top:10px;cursor:pointer;}fsi-calendar table tr:first-child a:hover{background:transparent;}fsi-calendar table tr:first-child fsi-nav:first-child{left:5%;}fsi-calendar table tr:first-child fsi-nav:last-child{right:5%;}fsi-calendar table a:hover{background:#eee;text-decoration:none;}fsi-calendar .month{font-size:large;padding:8px;background:#eee;}fsi-door{position:fixed;top:5px;left:9px;transition:all 0.2s ease-in-out;}fsi-door img{width:25px;transition:all 0.2s ease-in-out;}fsi-subtitle:before{content:"–";display:inline;}fsi-subtitle{color:#888;padding-left:30px;display:block;font-family:sans-serif;font-size:13px;margin-bottom:12px;}fsi-tile{background:white;display:block;margin:8px;padding:12px;min-height:100%;flex-direction:row;box-sizing:border-box;line-height:1.8em;}fsi-tile img{max-width:100%;box-sizing:border-box;}fsi-tile.news nav hr{margin:8px 0;}fsi-tile.news nav h4{font-size:medium;}fsi-title{display:block;color:#666;padding:12px 0 0 12px;margin-bottom:6px;font-size:x-large;}header{top:0;background:white;position:fixed;width:100%;box-sizing:border-box;box-shadow:0 0 12px rgba(0,0,0,0.6);z-index:100;}header a.menuButton{display:none;}header.headerSmall:not(:hover) header-logo{width:5%;margin-left:-2.5%;padding:0.1%;content:"";}header.headerSmall:not(:hover) fsi-door img{width:20px;}header.headerSmall:not(:hover) fsi-door{top:4px;}header nav.second>*{max-height:50px;transition:all 0.2s ease-in-out;}header nav.second{max-height:50px;background:#eee;transition:all 0.2s ease-in-out;}header nav a{display:block;width:100%;color:#222;max-height:50px;text-align:center;box-sizing:border-box;font-size:large;padding:12px;transition:all 0.2s ease-in-out;}header nav a:after{content:"";display:block;width:0;height:5px;position:absolute;bottom:0;left:50%;background:#005196;transition:width 0.2s ease-in-out,left 0.2s ease-in-out;}header nav a:hover,header nav a:focus{text-decoration:none;}header nav a:hover:after,header nav a.active:after{width:100%;left:0;}header nav a.active:after{background:#FF9C00;}header-logo{display:block;position:fixed;top:0;width:12%;background:white;padding:0.3%;border-radius:50%;left:50%;box-sizing:border-box;margin-left:-6%;border:solid 1px#aaa;transition:width 0.2s ease-in,margin-left 0.2s ease-in;z-index:100;}header-logo img{width:100%;}main{background:#005196;padding:105px 0 8px 0;}.alert{margin:8px;box-sizing:border-box;}.cover{margin:12px;display:inline-block;text-align:center;}.cover img{transition:transform 0.3s ease-in-out,box-shadow 0.3s ease-in-out;}.cover img:hover{transform:scale(1.1);box-shadow:0 0 15px rgba(0,0,0,0.9);}.news{font-size:medium;}.news hr{margin:10px 0 10px 0;}.news span{margin-top:-5px;color:#888;display:block;font-size:small;padding:0 0 0 8px;}.news h4{word-break:break-all;}.serviceIcon{width:25%;display:block;float:left;box-sizing:border-box;margin:0;font-size:medium;color:#555;padding:5%;text-align:center;transition:all 0.3s ease-in;}.serviceIcon:hover{transform:scale(1.1);text-decoration:none;color:#555;}.wrapper{background:url("../images/footer.jpg") no-repeat center bottom fixed#005196;background-size:contain;width:100%;box-sizing:border-box;}@media(max-width:991px){body{padding:0 0 0 0;}header{position:relative;}header .menu{position:fixed;width:100%;box-sizing:border-box;overflow-y:scroll;height:0;padding-top:50px;background:white;transition:all 0.3s ease-in-out;}header nav a{background:white;margin:0 auto;border-bottom:solid 1px#eee;width:90% !important;}header.headerSmall:not(:hover) nav>a{display:block;width:100%;color:#222;max-height:50px;text-align:center;box-sizing:border-box;font-size:large;padding:12px;transition:all 0.2s ease-in-out;}header a.menuButton{font-family:'Glyphicons Halflings';font-size:large;color:#222;display:block;padding:12px;background:white;width:100%;box-sizing:border-box;position:fixed;text-align:right;box-shadow:0 0 6px rgba(0,0,0,0.6);top:0;z-index:100;}header a.menuButton>span{transition:all 0.3s ease-in-out;}header a.menuButton.active>span{transform:rotate(90deg);}header:after{content:"" !important;display:block;width:30px;background:url('../images/logo_fachschaft_Informatik_small.svg') no-repeat;background-size:cover;padding-top:30px;position:fixed;top:10px;left:50%;margin-left:-15px;z-index:150;}header nav{background:white !important;}header fsi-door,header.headerSmall fsi-door{z-index:150 !important;top:9px !important;}header fsi-door img,header.headerSmall fsi-door img{width:20px !important;}header-logo{display:none;}main{padding:40px 0 8px 0;}.cover{width:40%;}.serviceIcon{width:15.5%;min-width:55px;min-height:55px;padding:3%;font-size:0;line-height:0;}.services div{font-size:0;}.wrapper{background-size:cover;}footer h4{font-size:large;}footer ul{padding-left:2%;}footer ul li{margin:15px;}footer .social img{width:6%;}.row-eq-height{display:block !important;}}@media(min-width:992px),(max-width:1300px){.wrapper{background-size:cover;}header.headerSmall:not(:hover) nav>a{font-size:medium;padding:8px !important;transition:all 0.2s ease-in-out;}header.headerSmall:not(:hover) nav.second>a,header.headerSmall:not(:hover) nav.second,header.headerSmall:not(:hover) nav.second>*{max-height:0 !important;overflow:hidden;padding:0;}}@media(min-width:992px){.row.row-eq-height .col-md-4{width:calc(100%/3-16px);}.col-md-4{width:calc(100%/3-0px);}}@media(min-width:1440px){body,header{max-width:1440px;margin:0 auto;}footer{box-shadow:none;}fsi-door{left:50%;margin-left:-711px;}header header-logo{width:150px !important;margin-left:-75px !important;}header.headerSmall header-logo{width:58px !important;margin-left:-29px !important;}}.alert,.btn{border-radius:0;font-family:sans-serif;}.alert-warning,.btn-warning{background:#FF9C00;border-color:#B26D00;color:#323238;}.btn-warning{text-shadow:1px 1px 0 rgba(255,255,255,0.4);}.btn-warning:hover,.btn-warning:active{background:#B26D00;text-shadow:1px 1px 0 rgba(0,0,0,0.6);}.row{margin:0;box-sizing:border-box;width:100%;}main .col-md-4,main .col-md-8,main .col-sm-4,main .col-sm-8,main .col-md-9,main .col-md-1,main .col-md-2,main .col-md-3,main .col-md-5,main .col-md-6,main .col-md-7,main .col-md-10,main .col-md-11{padding:0;}main .row-eq-height .col-md-4,main .row-eq-height .col-md-8{padding:0;margin:8px;background:white;;}.row-eq-height fsi-tile{margin:0;}.row-eq-height{display:flex;flex-direction:row;}.alignnone{margin:5px 20px 20px 0;}.aligncenter,div.aligncenter{display:block;margin:5px auto 5px auto;}.alignright{float:right;margin:5px 0 20px 20px;}.alignleft{float:left;margin:5px 20px 20px 0;}a img.alignright{float:right;margin:5px 0 20px 20px;}a img.alignnone{margin:5px 20px 20px 0;}a img.alignleft{float:left;margin:5px 20px 20px 0;}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid#f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center;}.wp-caption.alignnone{margin:5px 20px 20px 0;}.wp-caption.alignleft{margin:5px 20px 20px 0;}.wp-caption.alignright{margin:5px 0 20px 20px;}.wp-caption img{border:0 none;height:auto;margin:0;max-width:98.5%;padding:0;width:auto;}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px;}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute !important;height:1px;width:1px;overflow:hidden;}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000;}
\ No newline at end of file
*/@import"bootstrap.min.css";@font-face{font-family:"Linux Libertine";src:url("../fonts/LinuxLibertine.otf");}article.post{font-size:large;line-height:1.8em;padding:20px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-moz-column-gap:35px;-webkit-column-gap:35px;column-gap:35px;text-align:justify;}fsi-tile.post fsi-title{font-size:xx-large;color:#333;}fsi-tile.sidebar li{list-style:none;font-size:medium;}article.loopPost{margin-bottom:40px;font-size:medium;}article.page{font-size:large;line-height:1.5em;}article.page img.eventCover{float:left;margin:0 25px 20px 0;}body{margin:0;padding:0;font-size:small;background:#005196;font-family:"Linux Libertine",Georgia,Times,serif;}footer{background:#eee;background:transparent;font-family:sans-serif;color:#222;box-sizing:border-box;box-shadow:0 2px 12px rgba(0,0,0,0.6) inset;}footer h4{font-family:"Linux Libertine",Georgia,Times,serif;font-size:large;}footer .overlay{background:rgba(0,0,0,0.8);padding:12px;padding-top:10px;box-sizing:border-box;color:#ffffff;}footer .overlay a{color:#ccc;}footer p{font-size:small;text-align:center;color:#888;margin:8% 0 0 0;}footer .social{margin-top:25px;}footer .social img{width:12%;margin-right:8px;transition:all 0.2s ease-in-out;}footer .social img:hover{transform:scale(1.1);}footer ul{list-style:none;padding-left:8%;}footer ul li{margin:8px 0;}footer h4{margin-top:25px;}fsi-calendar table{width:100%;}fsi-calendar table tr td{text-align:center;border:solid 1px#ccc;font-family:sans-serif;position:relative;}fsi-calendar table tr:first-child td{font-family:"Linux Libertine";}fsi-calendar table tr th{font-family:sans-serif;text-align:center;padding:6px;border:solid 1px#ccc;}fsi-calendar table a{display:block;padding:11px;font-size:medium;}fsi-calendar table a.today{box-shadow:0 0 12px rgba(0,0,0,0.3) inset;}fsi-calendar table a.hasEvent:after{content:"";display:block;position:absolute;bottom:0;left:0;width:100%;background:#005196;height:4px;transition:all 0.3s ease-in-out;}fsi-calendar table a.hasEvent:hover:after{width:84%;left:8%;}fsi-calendar table tr:first-child td{position:relative;}fsi-calendar table tr:first-child fsi-nav{display:inline-block;position:absolute;top:10px;cursor:pointer;}fsi-calendar table tr:first-child a:hover{background:transparent;}fsi-calendar table tr:first-child fsi-nav:first-child{left:5%;}fsi-calendar table tr:first-child fsi-nav:last-child{right:5%;}fsi-calendar table a:hover{background:#eee;text-decoration:none;}fsi-calendar .month{font-size:large;padding:8px;background:#eee;}fsi-door{position:fixed;top:5px;left:9px;transition:all 0.2s ease-in-out;}fsi-door img{width:25px;transition:all 0.2s ease-in-out;}fsi-subtitle:before{content:"–";display:inline;}fsi-subtitle{color:#888;padding-left:30px;display:block;font-family:sans-serif;font-size:13px;margin-bottom:12px;}fsi-tile{background:white;display:block;margin:8px;padding:12px;min-height:100%;flex-direction:row;box-sizing:border-box;line-height:1.8em;}fsi-tile img{max-width:100%;box-sizing:border-box;}fsi-tile.news nav hr{margin:8px 0;}fsi-tile.news nav h4{font-size:medium;}fsi-title{display:block;color:#666;padding:12px 0 0 12px;margin-bottom:6px;font-size:x-large;}header{top:0;background:white;position:fixed;width:100%;box-sizing:border-box;box-shadow:0 0 12px rgba(0,0,0,0.6);z-index:100;}header a.menuButton{display:none;}header.headerSmall:not(:hover) header-logo{width:5%;margin-left:-2.5%;padding:0.1%;content:"";}header.headerSmall:not(:hover) fsi-door img{width:20px;}header.headerSmall:not(:hover) fsi-door{top:4px;}header nav.second>*{max-height:50px;transition:all 0.2s ease-in-out;}header nav.second{max-height:50px;background:#eee;transition:all 0.2s ease-in-out;}header nav a{display:block;width:100%;color:#222;max-height:50px;text-align:center;box-sizing:border-box;font-size:large;padding:12px;transition:all 0.2s ease-in-out;}header nav a:after{content:"";display:block;width:0;height:5px;position:absolute;bottom:0;left:50%;background:#005196;transition:width 0.2s ease-in-out,left 0.2s ease-in-out;}header nav a:hover,header nav a:focus{text-decoration:none;}header nav a:hover:after,header nav a.active:after{width:100%;left:0;}header nav a.active:after{background:#FF9C00;}header-logo{display:block;position:fixed;top:0;width:12%;background:white;padding:0.3%;border-radius:50%;left:50%;box-sizing:border-box;margin-left:-6%;border:solid 1px#aaa;transition:width 0.2s ease-in,margin-left 0.2s ease-in;z-index:100;}header-logo img{width:100%;}main{background:#005196;padding:105px 0 8px 0;}.alert{margin:8px;box-sizing:border-box;}.cover{margin:12px;display:inline-block;text-align:center;}.cover img{transition:transform 0.3s ease-in-out,box-shadow 0.3s ease-in-out;}.cover img:hover{transform:scale(1.1);box-shadow:0 0 15px rgba(0,0,0,0.9);}.news{font-size:medium;}.news hr{margin:10px 0 10px 0;}.news span{margin-top:-5px;color:#888;display:block;font-size:small;padding:0 0 0 8px;}.news h4{word-break:break-all;}.serviceIcon{width:25%;display:block;float:left;box-sizing:border-box;margin:0;font-size:medium;color:#555;padding:5%;text-align:center;transition:all 0.3s ease-in;}.serviceIcon:hover{transform:scale(1.1);text-decoration:none;color:#555;}.wrapper{background:url("../images/footer.jpg") no-repeat center bottom fixed#005196;background-size:contain;width:100%;box-sizing:border-box;}@media(max-width:991px){body{padding:0 0 0 0;}header{position:relative;}header .menu{position:fixed;width:100%;box-sizing:border-box;overflow-y:scroll;height:0;padding-top:50px;background:white;transition:all 0.3s ease-in-out;}header nav a{background:white;margin:0 auto;border-bottom:solid 1px#eee;width:90% !important;}header.headerSmall:not(:hover) nav>a{display:block;width:100%;color:#222;max-height:50px;text-align:center;box-sizing:border-box;font-size:large;padding:12px;transition:all 0.2s ease-in-out;}header a.menuButton{font-family:'Glyphicons Halflings';font-size:large;color:#222;display:block;padding:12px;background:white;width:100%;box-sizing:border-box;position:fixed;text-align:right;box-shadow:0 0 6px rgba(0,0,0,0.6);top:0;z-index:100;}header a.menuButton>span{transition:all 0.3s ease-in-out;}header a.menuButton.active>span{transform:rotate(90deg);}header:after{content:"" !important;display:block;width:30px;background:url('../images/logo_fachschaft_Informatik_small.svg') no-repeat;background-size:cover;padding-top:30px;position:fixed;top:10px;left:50%;margin-left:-15px;z-index:150;}header nav{background:white !important;}header fsi-door,header.headerSmall fsi-door{z-index:150 !important;top:9px !important;}header fsi-door img,header.headerSmall fsi-door img{width:20px !important;}header-logo{display:none;}main{padding:40px 0 8px 0;}.cover{width:40%;}.serviceIcon{width:15.5%;min-width:55px;min-height:55px;padding:3%;font-size:0;line-height:0;}.services div{font-size:0;}.wrapper{background-size:cover;}footer h4{font-size:large;}footer ul{padding-left:2%;}footer ul li{margin:15px;}footer .social img{width:6%;}.row-eq-height{display:block !important;}}@media(min-width:992px),(max-width:1300px){.wrapper{background-size:cover;}header.headerSmall:not(:hover) nav>a{font-size:medium;padding:8px !important;transition:all 0.2s ease-in-out;}header.headerSmall:not(:hover) nav.second>a,header.headerSmall:not(:hover) nav.second,header.headerSmall:not(:hover) nav.second>*{max-height:0 !important;overflow:hidden;padding:0;}}@media(min-width:992px){.row.row-eq-height .col-md-4{width:calc(100%/3-16px);}.col-md-4{width:calc(100%/3-0px);}}@media(min-width:1440px){body,header{max-width:1440px;margin:0 auto;}footer{box-shadow:none;}fsi-door{left:50%;margin-left:-711px;}header header-logo{width:150px !important;margin-left:-75px !important;}header.headerSmall header-logo{width:58px !important;margin-left:-29px !important;}}.alert,.btn{border-radius:0;font-family:sans-serif;}.alert-warning,.btn-warning{background:#FF9C00;border-color:#B26D00;color:#323238;}.btn-warning{text-shadow:1px 1px 0 rgba(255,255,255,0.4);}.btn-warning:hover,.btn-warning:active{background:#B26D00;text-shadow:1px 1px 0 rgba(0,0,0,0.6);}.row{margin:0;box-sizing:border-box;width:100%;}main .col-md-4,main .col-md-8,main .col-sm-4,main .col-sm-8,main .col-md-9,main .col-md-1,main .col-md-2,main .col-md-3,main .col-md-5,main .col-md-6,main .col-md-7,main .col-md-10,main .col-md-11{padding:0;}main .row-eq-height .col-md-4,main .row-eq-height .col-md-8{padding:0;margin:8px;background:white;;}.row-eq-height fsi-tile{margin:0;}.row-eq-height{display:flex;flex-direction:row;}.alignnone{margin:5px 20px 20px 0;}.aligncenter,div.aligncenter{display:block;margin:5px auto 5px auto;}.alignright{float:right;margin:5px 0 20px 20px;}.alignleft{float:left;margin:5px 20px 20px 0;}a img.alignright{float:right;margin:5px 0 20px 20px;}a img.alignnone{margin:5px 20px 20px 0;}a img.alignleft{float:left;margin:5px 20px 20px 0;}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid#f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center;}.wp-caption.alignnone{margin:5px 20px 20px 0;}.wp-caption.alignleft{margin:5px 20px 20px 0;}.wp-caption.alignright{margin:5px 0 20px 20px;}.wp-caption img{border:0 none;height:auto;margin:0;max-width:98.5%;padding:0;width:auto;}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px;}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute !important;height:1px;width:1px;overflow:hidden;}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000;}
\ No newline at end of file
<footer class="row">
<section class="overlay">
<nav class="col-md-3">
<h4>Links</h4>
<ul>
<li><a href="#">Startseite</a></li>
<li><a href="#">Startseite</a></li>
<li><a href="#">Startseite</a></li>
<li><a href="#">Startseite</a></li>
<li><a href="#">Startseite</a></li>
</ul>
<?php
\FSI\FooterMenus::getMenu("footer1");
?>
</nav>
<nav class="col-md-3">
<h4>Hochschule</h4>
<ul>
<li><a href="#">Stud.IP</a></li>
<li><a href="#">QIS</a></li>
<li><a href="#">Webmail</a></li>
<li><a href="#">ILIAS</a></li>
<li><a href="#">Hochschule Trier</a></li>
</ul>
<?php
\FSI\FooterMenus::getMenu("footer2");
?>
</nav>
<nav class="col-md-3">
<h4>Studierendenschaft</h4>
<ul>
<li><a href="#">Was ist die Fachschaft?</a></li>
<li><a href="#">AStA</a></li>
<li><a href="#">StuPa</a></li>
</ul>
<?php
\FSI\FooterMenus::getMenu("footer3");
?>
</nav>
<nav class="col-md-3">
<h4>Homepage</h4>
<ul>
<li><a href="#">Impressum</a></li>
<li><a href="#">Dein Profil</a></li>
</ul>
<?php
\FSI\FooterMenus::getMenu("footer4");
?>
<section class="social">
<a href=""><img src="images/icons/social/facebook.svg" alt="" /></a>
<a href=""><img src="images/icons/social/youtube.svg" alt="" /></a>
......
......@@ -2,25 +2,26 @@
<main>
<section class="row">
<section class="col-md-9">
<section class="col-md-8 col-lg-9">
<fsi-tile>
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
echo "
<fsi-tile>
<fsi-title><a href=\"".get_the_permalink()."\">".get_the_title()."</a></fsi-title>
".get_the_excerpt()."
</fsi-tile>
<article class='loopPost'>
<fsi-title><a href=\"".get_the_permalink()."\">".get_the_title()."</a></fsi-title>
".get_the_excerpt()."
</article>
";
}
}
?>
</fsi-tile>
</section>
<section class="col-md-3">
<fsi-tile>
<section class="col-md-4 col-lg-3">
<fsi-tile class="sidebar">
<?php get_sidebar('sidebar-1'); ?>
</fsi-tile>
</section>
......
......@@ -2,7 +2,7 @@
<main>
<section class="row">
<section class="col-md-9">
<section class="col-md-8 col-lg-9">
<?php
if (have_posts()) {
while (have_posts()) {
......@@ -26,8 +26,8 @@
?>
</section>
<section class="col-md-3">
<fsi-tile>
<section class="col-md-4 col-lg-3">
<fsi-tile class="sidebar">
<?php get_sidebar('sidebar-1'); ?>
</fsi-tile>
</section>
......
......@@ -2,14 +2,14 @@
<main>
<section class="row">
<section class="col-md-9">
<section class="col-md-8 col-lg-9">
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
echo "
<fsi-tile class=\"post\">
<fsi-title><a href=\"".get_the_permalink()."\">".get_the_title()."</a></fsi-title>
<fsi-title>".get_the_title()."</fsi-title>
<fsi-subtitle> ".get_the_author()." am ".get_the_date()."</fsi-subtitle>
<article class=\"post\">
......@@ -26,8 +26,8 @@
?>
</section>
<section class="col-md-3">
<fsi-tile>
<section class="col-md-4 col-lg-3">
<fsi-tile class="sidebar">
<?php get_sidebar('sidebar-1'); ?>
</fsi-tile>
</section>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment