diff --git a/components/wetter.php b/components/wetter.php index ac2d070..9265f9e 100644 --- a/components/wetter.php +++ b/components/wetter.php @@ -61,7 +61,7 @@ ?>
- +
data[0]->values->avg[0]); ?>°C

diff --git a/elements/map-card.php b/elements/map-card.php index 6b12cdd..b26b945 100644 --- a/elements/map-card.php +++ b/elements/map-card.php @@ -29,7 +29,7 @@ - " target="_blank">In Karten öffenen + " target="_blank">In Karten öffenen &travelmode=walking&basemap=roadmap">In Maps öffnen

diff --git a/pages/single-projekte.php b/pages/single-projekte.php index bbeea88..ff2154a 100644 --- a/pages/single-projekte.php +++ b/pages/single-projekte.php @@ -60,6 +60,7 @@ if ( ( is_user_logged_in() && $current_user->ID == $post->post_author ) ) { ?> Projekt bearbeiten + Projekt löschen @@ -321,6 +322,14 @@ function copy() { ID == $post->post_author) { + + + wp_delete_post(get_the_ID()); + + wp_redirect( get_site_url() ); + } else { diff --git a/style.css b/style.css index 8e2ece5..ad14b81 100644 --- a/style.css +++ b/style.css @@ -744,8 +744,6 @@ input[type="button"], input[type="reset"], input[type="submit"], input[type="submit" i], -/* input:matches([type="button"], [type="submit"], [type="reset"]), */ -/* input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button */ input[type="file"]::-webkit-file-upload-button { -webkit-appearance: none; -moz-appearance: none; @@ -4781,6 +4779,11 @@ a.card-link{ } + +.landscape .pre-title { + color: #fff +} + .marker-container{ position: absolute; height: 100%; @@ -4803,11 +4806,9 @@ a.card-link{ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07); - - - } + .card .marker::before{ content: ''; z-index: 1; @@ -4831,8 +4832,6 @@ a.card-link{ 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07) } - - .card .marker img{ width: 100%; height: 100%; @@ -4849,9 +4848,17 @@ a.card-link{ } @media (max-width: 782px) { + + .card .marker::before{ + width: 50px; + height: 50px; + } + .card .marker{ width: 50px; height: 50px; + font-size: 2.5rem; + } .card .marker::after{ @@ -5037,8 +5044,10 @@ a.card-link{ } .card-footer{ + margin-top: 5px; width: 100%; display: flex; + z-index: 1; } .card .card-button{ @@ -5160,9 +5169,6 @@ a.card-link{ } - .landscape .pre-title { - color: #fff - } .landscape .card-title { font-size: 2.8rem; line-height: 3rem;