Procházet zdrojové kódy

Exford: Reduce padding of links in the footer menu

Thomas Guillot před 6 roky
rodič
revize
57208d74b7
3 změnil soubory, kde provedl 37 přidání a 1 odebrání
  1. 15 1
      exford/sass/_extra-child-theme.scss
  2. 11 0
      exford/style-rtl.css
  3. 11 0
      exford/style.css

+ 15 - 1
exford/sass/_extra-child-theme.scss

@@ -183,7 +183,6 @@ a {
 /**
  * Blocks
  */
-
 // Posts List
 .a8c-posts-list {
 	text-align: center;
@@ -307,3 +306,18 @@ a {
 .widget_rss_links li {
 	font-family: inherit;
 }
+
+/**
+ * Footer
+ */
+.footer-navigation {
+	.footer-menu {
+		a {
+			padding: 0 #{0.5 * $spacing_unit};
+		}
+
+		> li:last-of-type {
+			margin-right: -#{0.5 * $spacing_unit};
+		}
+	}
+}

+ 11 - 0
exford/style-rtl.css

@@ -3672,3 +3672,14 @@ p:not(.site-title) a:hover {
 .widget_rss_links li {
 	font-family: inherit;
 }
+
+/**
+ * Footer
+ */
+.footer-navigation .footer-menu a {
+	padding: 0 8px;
+}
+
+.footer-navigation .footer-menu > li:last-of-type {
+	margin-left: -8px;
+}

+ 11 - 0
exford/style.css

@@ -3688,3 +3688,14 @@ p:not(.site-title) a:hover {
 .widget_rss_links li {
 	font-family: inherit;
 }
+
+/**
+ * Footer
+ */
+.footer-navigation .footer-menu a {
+	padding: 0 8px;
+}
+
+.footer-navigation .footer-menu > li:last-of-type {
+	margin-right: -8px;
+}