From df9ae90a5f8644a913edaaf682f2c56352573db4 Mon Sep 17 00:00:00 2001 From: "arlemp@selectel.ru" Date: Sun, 26 Dec 2021 11:19:30 +0300 Subject: [PATCH] add red calendar marker --- header.php | 2 +- src/calendar.php | 2 +- style.css | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/header.php b/header.php index 04df308..ec90738 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?> - + diff --git a/src/calendar.php b/src/calendar.php index 181671f..99ae311 100644 --- a/src/calendar.php +++ b/src/calendar.php @@ -115,7 +115,7 @@ class Calendar $out.= ''; $out.= '
'.$day.'
'; - + $out.= '
'; $out.= ''; } else { $out.= '' . $day . ''; diff --git a/style.css b/style.css index 7455e7a..8625140 100644 --- a/style.css +++ b/style.css @@ -1147,6 +1147,20 @@ a{ margin-top: 38px; } + .calendar-event{ + position: relative; + } + + .calend_marker{ + position:absolute; + display: block; + background: #F18129; + border-radius: 50%; + height: .3em; + width: .3em; + top: 4%; + left: 90%; + } .mobile_archive_img{ margin-top: -32px;