- Timestamp:
- 12/14/2018 02:32:33 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963
- Property svn:mergeinfo changed
-
trunk/src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss
r43808 r44149 5 5 6 6 margin: calc(3 * 1rem) 0; 7 8 @include media(tablet) { 9 margin: calc(3 * 1rem) $size__site-margins; 10 max-width: calc(6 * (100vw / 12)); 11 } 12 13 @include media(desktop) { 14 margin: calc(3 * 1rem) 0; 15 max-width: 100%; 16 } 7 17 8 18 .nav-links { … … 13 23 flex-direction: column; 14 24 25 @include media(tablet) { 26 margin: 0; 27 } 28 15 29 @include media(desktop) { 16 30 flex-direction: row; 17 margin: 0 calc(2 * (100vw / 12));18 max-width: calc(8 * (100vw / 12));31 margin: 0 $size__site-margins; 32 max-width: $size__site-desktop-content; 19 33 } 20 34 … … 74 88 @include media(desktop) { 75 89 order: 2; 90 padding-left: $size__spacing-unit; 76 91 } 77 92 … … 109 124 } 110 125 126 a:focus { 127 text-decoration: underline; 128 outline-offset: -1px; 129 130 &.prev, 131 &.next { 132 text-decoration: none; 133 134 .nav-prev-text, 135 .nav-next-text { 136 text-decoration: underline; 137 } 138 } 139 } 140 111 141 .nav-next-text, 112 142 .nav-prev-text { … … 116 146 @include media(tablet) { 117 147 118 margin-left: calc(2 * (100vw / 12) );148 margin-left: $size__site-margins; 119 149 padding: 0; 120 150 … … 139 169 140 170 .nav-links { 141 142 171 display: flex; 143 172 flex-direction: row; … … 148 177 min-width: 50%; 149 178 width: 100%; 179 font-family: $font__heading; 180 font-weight: bold; 150 181 151 182 .secondary-text { … … 163 194 top: -1px; 164 195 } 165 166 a {167 168 &:hover {169 color: $color__link;170 }171 }172 196 } 173 197
Note: See TracChangeset
for help on using the changeset viewer.