From 06882cc32716cf73640dac30efa93c9637c326b0 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Mon, 11 Apr 2022 07:14:06 +0000 Subject: [PATCH] Done #5113 @0.5 --- mdryvescouzy.com/.rsync-exclude | 2 +- .../themes/YvesCouzy/main-style.css | 24 ++++------ .../wp-content/themes/YvesCouzy/style.less | 45 ++++++++++--------- 3 files changed, 34 insertions(+), 37 deletions(-) diff --git a/mdryvescouzy.com/.rsync-exclude b/mdryvescouzy.com/.rsync-exclude index c1947030..2be6a293 100644 --- a/mdryvescouzy.com/.rsync-exclude +++ b/mdryvescouzy.com/.rsync-exclude @@ -3,5 +3,5 @@ .uploads-proxy .rsync-exclude local-config.php +stats/ wp-content/uploads - diff --git a/mdryvescouzy.com/wp-content/themes/YvesCouzy/main-style.css b/mdryvescouzy.com/wp-content/themes/YvesCouzy/main-style.css index f556f93d..16559974 100644 --- a/mdryvescouzy.com/wp-content/themes/YvesCouzy/main-style.css +++ b/mdryvescouzy.com/wp-content/themes/YvesCouzy/main-style.css @@ -95,13 +95,15 @@ hr { } #menu-item-5 a { color:#a6a886; } .sub-menu { - margin:20px 0 80px; - text-align:right; + display:flex; + align-items:center; + justify-content:flex-end; + margin:26px 0 36px; } -.sub-menu li { - display:block; - float:right !important; - margin-left:50px; +.sub-menu li:not(:last-child):after { + content:'–'; + display:inline-block; + margin:0 20px; } .sub-menu li a { color:#8e8e8e; @@ -112,16 +114,6 @@ hr { font-weight:600; text-transform:uppercase; } -.sub-menu .menu-item-blog a { - background-image:url(images/btn-menu-blog.jpg); - background-repeat:no-repeat; - text-indent:100%; - white-space:nowrap; - overflow:hidden; - width:75px; - height:28px; -} -.sub-menu li#menu-item-43 a { margin-top:6px; } .sf-menu { float:none; } .top-menu.sf-menu li { background:none; } .top-menu.sf-menu li a { diff --git a/mdryvescouzy.com/wp-content/themes/YvesCouzy/style.less b/mdryvescouzy.com/wp-content/themes/YvesCouzy/style.less index fed96f60..bfb4069b 100644 --- a/mdryvescouzy.com/wp-content/themes/YvesCouzy/style.less +++ b/mdryvescouzy.com/wp-content/themes/YvesCouzy/style.less @@ -169,14 +169,19 @@ hr { /* SUB MENU */ .sub-menu { - margin: 20px 0 80px; - text-align: right; + display: flex; + align-items: center; + justify-content: flex-end; + margin: 26px 0 36px; } .sub-menu li { - display: block; - float: right !important; - margin-left: 50px; + &:not(:last-child):after { + content: '–'; + display: inline-block; + margin: 0 20px; + + } } .sub-menu li a { @@ -189,21 +194,21 @@ hr { text-transform: uppercase; } -.sub-menu .menu-item-blog a { - /* BLOG */ - background-image: url(images/btn-menu-blog.jpg); - background-repeat: no-repeat; - text-indent: 100%; - white-space: nowrap; - overflow: hidden; - width: 75px; - height: 28px; -} - -.sub-menu li#menu-item-43 a { - /* CONTACT */ - margin-top: 6px; -} +//.sub-menu .menu-item-blog a { +// /* BLOG */ +// background-image: url(images/btn-menu-blog.jpg); +// background-repeat: no-repeat; +// text-indent: 100%; +// white-space: nowrap; +// overflow: hidden; +// width: 75px; +// height: 28px; +//} +// +//.sub-menu li#menu-item-43 a { +// /* CONTACT */ +// margin-top: 6px; +//} /* MAIN MENU */ .sf-menu { -- 2.39.5