Changeset 43892 for branches/5.0/src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss
- Timestamp:
- 11/12/2018 11:19:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss
r43842 r43892 5 5 6 6 margin: calc(3 * 1rem) 0; 7 7 8 8 @include media(tablet) { 9 margin: calc(3 * 1rem) calc(2 * (100vw / 12));9 margin: calc(3 * 1rem) $size__site-margins; 10 10 max-width: calc(6 * (100vw / 12)); 11 11 } 12 12 13 13 @include media(desktop) { 14 14 margin: calc(3 * 1rem) 0; … … 22 22 display: flex; 23 23 flex-direction: column; 24 24 25 25 @include media(tablet) { 26 26 margin: 0; … … 29 29 @include media(desktop) { 30 30 flex-direction: row; 31 margin: 0 calc(2 * (100vw / 12));32 max-width: calc(8 * (100vw / 12));31 margin: 0 $size__site-margins; 32 max-width: $size__site-desktop-content; 33 33 } 34 34 … … 124 124 } 125 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 126 141 .nav-next-text, 127 142 .nav-prev-text { … … 131 146 @include media(tablet) { 132 147 133 margin-left: calc(2 * (100vw / 12) );148 margin-left: $size__site-margins; 134 149 padding: 0; 135 150 … … 156 171 display: flex; 157 172 flex-direction: row; 158 margin: 0 $size__spacing-unit;159 160 @include media(desktop) {161 margin: 0 calc(2 * (100vw / 12));162 max-width: calc(8 * (100vw / 12));163 }164 173 } 165 174 … … 185 194 top: -1px; 186 195 } 187 188 a {189 190 &:hover {191 color: $color__link;192 }193 }194 196 } 195 197
Note: See TracChangeset
for help on using the changeset viewer.