- 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/site/header/_site-header.scss
r43808 r44149 2 2 3 3 .site-header { 4 padding: 1em; 4 5 5 padding: 1em; 6 &.featured-image { 7 display: flex; 8 flex-direction: column; 9 justify-content: space-between; 10 min-height: 90vh; 11 12 .site-branding-container { 13 margin-bottom: auto; 14 } 15 } 6 16 7 17 @include media(tablet) { … … 10 20 11 21 &.featured-image { 12 display: flex;13 22 min-height: 100vh; 14 flex-direction: column;15 justify-content: space-between;16 23 margin-bottom: 3rem; 17 18 .site-branding-container {19 margin-bottom: auto;20 }21 24 } 22 25 } … … 31 34 32 35 @include media(tablet) { 33 margin: 0 calc(2 * (100vw / 12)); 34 max-width: 22em; 36 margin: 0 $size__site-margins; 35 37 } 36 38 } … … 47 49 margin-bottom: 0; 48 50 position: absolute; 49 right: calc(100% + ( 0.5 * calc(100vw / 12)));51 right: calc(100% + (1.25 * #{$size__spacing-unit})); 50 52 top: 4px; // Accounts for box-shadow widths 51 53 z-index: 999; … … 55 57 border-radius: 100%; 56 58 box-sizing: content-box; 57 box-shadow: 0 0 0 0 rgba( black, 0);59 box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); 58 60 display: block; 59 width: 32px;60 height: 32px;61 width: 50px; 62 height: 50px; 61 63 overflow: hidden; 62 64 transition: box-shadow $background_transition ease-in-out; … … 69 71 &:active, 70 72 &:focus { 71 box-shadow: 0 0 0 2px rgba( black, 1);73 box-shadow: 0 0 0 2px rgba(0, 0, 0, 1); 72 74 } 73 75 … … 82 84 83 85 .site-title { 84 85 86 margin: auto; 86 87 display: inline; 87 88 color: $color__text-main; 89 90 a { 91 color: $color__text-main; 92 93 &:link, 94 &:visited { 95 color: $color__text-main; 96 } 97 98 &:hover { 99 color: $color__text-hover; 100 } 101 } 88 102 89 103 .featured-image & { … … 100 114 } 101 115 102 a { 103 color: inherit; 104 105 &:hover { 106 color: $color__text-hover; 107 } 116 @include media(tablet) { 117 display: inline; 108 118 } 109 119 110 @include media(tablet) { 111 display: inline; 120 &:not(:empty) + .site-description:not(:empty):before { 121 content: "\2014"; 122 margin: 0 .2em; 112 123 } 113 124 } … … 121 132 font-weight: normal; 122 133 margin: 0; 123 124 &:not(:empty):before {125 content: "\2014";126 margin: 0 .2em;127 }128 134 }
Note: See TracChangeset
for help on using the changeset viewer.