add icon + try fix safari bug
This commit is contained in:
parent
5ffa49c3b8
commit
89856dd0af
|
@ -1,8 +1,10 @@
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<a href="/kontakt" >Kontakt</a>
|
<?php wp_nav_menu( array(
|
||||||
|
|
'theme_location' => 'footer-menu',
|
||||||
<a href="/impressum" >Impressum</a>
|
'container' => '',
|
||||||
|
'fallback_cb' => '__return_false'
|
||||||
|
)); ?>
|
||||||
</footer>
|
</footer>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,8 +9,18 @@ add_action( 'wp_enqueue_scripts', 'inc_scripts' );
|
||||||
|
|
||||||
function register_my_menu() {
|
function register_my_menu() {
|
||||||
register_nav_menu('main-menu',__( 'Main Menu' ));
|
register_nav_menu('main-menu',__( 'Main Menu' ));
|
||||||
|
register_nav_menu('footer-menu',__( 'Footer Menu' ));
|
||||||
}
|
}
|
||||||
add_action( 'init', 'register_my_menu' );
|
add_action( 'init', 'register_my_menu' );
|
||||||
|
|
||||||
add_theme_support('post-thumbnails');
|
add_theme_support('post-thumbnails');
|
||||||
|
|
||||||
|
function nav_replace_wpse_189788($item_output, $item, $args) {
|
||||||
|
# var_dump($item_output, $item);
|
||||||
|
if($item->post_title == '<br/>') {
|
||||||
|
return '<br/>';
|
||||||
|
}
|
||||||
|
return $item_output;
|
||||||
|
}
|
||||||
|
add_action('walker_nav_menu_start_el','nav_replace_wpse_189788',null,3);
|
||||||
?>
|
?>
|
|
@ -7,6 +7,13 @@
|
||||||
<title>Hausarzt Stader Straße Fachärzte für Allgemeinmedizin Rogalli, Lache und Mühr in Bremen, östliche Vorstadt</title>
|
<title>Hausarzt Stader Straße Fachärzte für Allgemeinmedizin Rogalli, Lache und Mühr in Bremen, östliche Vorstadt</title>
|
||||||
<meta name="description" content="Hausarzt für Allgemeinmedizin in Hastedt, Peterswerder, östliche Vorstadt - Stader Str." />
|
<meta name="description" content="Hausarzt für Allgemeinmedizin in Hastedt, Peterswerder, östliche Vorstadt - Stader Str." />
|
||||||
<meta name="keywords" content="Hausarzt,Allgemeinmedizin,Hastedt,Peterswerder,östliche Vorstadt,Stader,Stader Straße,Stader Str." />
|
<meta name="keywords" content="Hausarzt,Allgemeinmedizin,Hastedt,Peterswerder,östliche Vorstadt,Stader,Stader Straße,Stader Str." />
|
||||||
|
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo get_stylesheet_directory_uri(); ?>/apple-touch-icon.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="<?php echo get_stylesheet_directory_uri(); ?>/manifest.json">
|
||||||
|
<link rel="mask-icon" href="<?php echo get_stylesheet_directory_uri(); ?>/safari-pinned-tab.svg" color="#5bbad5">
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
<?php if ( is_singular() && pings_open() ) { ?>
|
<?php if ( is_singular() && pings_open() ) { ?>
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||||||
<?php }
|
<?php }
|
||||||
|
|
56
style.css
56
style.css
|
@ -27,7 +27,6 @@ License URI: https://fireorbit.de
|
||||||
}
|
}
|
||||||
|
|
||||||
html,body{
|
html,body{
|
||||||
min-height: 100vh;
|
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin:0px;
|
margin:0px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
@ -38,19 +37,18 @@ html,body{
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
font-weight:lighter;
|
font-weight:lighter;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
min-height: 100vh;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.wrapper {
|
.wrapper {
|
||||||
width: 1024px;
|
width: 1024px;
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
header{
|
header{
|
||||||
flex: 0 1 auto;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
header > div{
|
header > div{
|
||||||
padding:67px 0px;
|
padding:67px 0px;
|
||||||
|
@ -113,35 +111,48 @@ footer {
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
footer ul {
|
||||||
|
overflow: auto;
|
||||||
|
list-style-type: none;
|
||||||
|
padding: auto;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
footer li {
|
||||||
|
line-height: 0.8em;
|
||||||
|
border-right: 2px solid #457575;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
footer li:last-child {
|
||||||
|
border-right: none;
|
||||||
}
|
}
|
||||||
footer a{
|
footer a{
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
}
|
}
|
||||||
footer a.current-menu-item {
|
footer li.current-menu-item {
|
||||||
color: #009999;
|
color: #009999;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.main{
|
.main{
|
||||||
flex:1 1 auto;
|
flex: 1;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-height: 100%;
|
min-height: 100vh;
|
||||||
}
|
|
||||||
nav,section{
|
|
||||||
flex: 1 100%;
|
|
||||||
}
|
}
|
||||||
nav {
|
nav {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
background-color: rgba(113,140,139,0.12);
|
background-color: rgba(113,140,139,0.12);
|
||||||
flex: 0 27%;
|
flex: 0 32%;
|
||||||
flex-shrink: 0;
|
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
section{
|
section{
|
||||||
|
flex: 0 100%;
|
||||||
background-color: rgba(113,140,139,0.07);
|
background-color: rgba(113,140,139,0.07);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -167,6 +178,9 @@ nav li .logo {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
width: 57px;
|
width: 57px;
|
||||||
}
|
}
|
||||||
|
nav li .logo+span {
|
||||||
|
font-size:0px;
|
||||||
|
}
|
||||||
nav li:hover .logo {
|
nav li:hover .logo {
|
||||||
background-image:url('img/logo-hover.svg');
|
background-image:url('img/logo-hover.svg');
|
||||||
}
|
}
|
||||||
|
@ -180,16 +194,15 @@ nav li.current-menu-item .logo{
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0.65em 0 0.65em 0.85em;
|
border-width: 0.65em 0 0.65em 0.85em;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 0;
|
height: 100%;
|
||||||
width: 0;
|
width: 0;
|
||||||
top: 0.1em;
|
|
||||||
left: -1.9em;
|
left: -1.9em;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-color: transparent #009999;
|
border-color: transparent #009999;
|
||||||
}
|
}
|
||||||
}
|
nav li:first-child.current-menu-item:before{
|
||||||
nav li.current-menu-item:before {
|
top: -0.6em;
|
||||||
top:-0.6em;
|
}
|
||||||
}
|
}
|
||||||
nav li.current-menu-item a{
|
nav li.current-menu-item a{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -271,7 +284,6 @@ section .team .item:nth-child(even) {
|
||||||
}
|
}
|
||||||
section .team .item img {
|
section .team .item img {
|
||||||
float: left;
|
float: left;
|
||||||
width: 45%;
|
|
||||||
margin: 0px 15px 0px 0px;
|
margin: 0px 15px 0px 0px;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 1024px) {
|
@media only screen and (max-width: 1024px) {
|
||||||
|
@ -287,7 +299,7 @@ section .team .item img {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
header > div {
|
header > div {
|
||||||
height: 0px;
|
height: 180px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
header .mobil, header img {
|
header .mobil, header img {
|
||||||
|
@ -347,14 +359,17 @@ section .team .item img {
|
||||||
nav li a:visited,
|
nav li a:visited,
|
||||||
nav li a:active {
|
nav li a:active {
|
||||||
color: #829D9D;
|
color: #829D9D;
|
||||||
font-weight:bold;
|
|
||||||
}
|
}
|
||||||
nav li.current-menu-item {
|
nav li.current-menu-item {
|
||||||
background-color: #009999;
|
background-color: #009999;
|
||||||
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
nav li .logo{
|
nav li .logo{
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
nav li .logo+span {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
nav li .logo-mobil{
|
nav li .logo-mobil{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -366,7 +381,6 @@ section .team .item img {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
section .team .item img {
|
section .team .item img {
|
||||||
width: 20%;
|
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
footer {
|
footer {
|
||||||
|
|
Loading…
Reference in New Issue