Changeset 43860 for branches/5.0/src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss
- Timestamp:
- 11/02/2018 11:52:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss
r43842 r43860 123 123 margin-top: 0; 124 124 } 125 126 .pingback { 127 128 .comment-body { 129 color: $color__text-light; 130 font-family: $font__heading; 131 font-size: $font__size-xs; 132 font-weight: 500; 133 margin-bottom: $size__spacing-unit; 134 135 a:not(.comment-edit-link) { 136 font-weight: bold; 137 font-size: $font__size-base / (1 * $font__size-ratio); 138 line-height: 1.5; 139 padding-right: #{0.5 * $size__spacing-unit}; 140 display: block; 141 } 142 143 .comment-edit-link { 144 color: $color__text-light; 145 font-family: $font__heading; 146 font-weight: 500; 147 } 148 } 149 } 125 150 } 126 151 … … 151 176 } 152 177 153 &:hover > .comment-body > .comment-meta > .comment-metadata {154 > .edit-link-sep,155 > .edit-link {156 opacity: 1;157 }158 }159 160 178 .comment-body { 161 179 margin: calc(2 * #{$size__spacing-unit}) 0; … … 164 182 .comment-meta { 165 183 position: relative; 184 185 @include media(tablet) { 186 display: flex; 187 } 166 188 } 167 189 … … 169 191 170 192 @include media(tablet) { 171 display: inline-block;193 flex: 0 0 auto; 172 194 vertical-align: baseline; 173 195 } … … 232 254 233 255 @include media(tablet) { 234 display: inline-block;256 flex: 1 0 auto; 235 257 margin-left: $size__spacing-unit; 236 258 position: relative; … … 262 284 color: $color__text-light; 263 285 margin: 0 0.2em; 264 opacity: 0;265 transition: opacity 200ms ease-in-out;266 286 vertical-align: baseline; 267 287 } … … 269 289 .edit-link { 270 290 color: $color__text-light; 271 transition: opacity 200ms ease-in-out;272 opacity: 0;273 291 274 292 svg {
Note: See TracChangeset
for help on using the changeset viewer.