Changeset 6606 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/css/components/_about.scss
- Timestamp:
- 02/12/2018 07:30:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/css/components/_about.scss
r6583 r6606 2 2 body.page-template-about { 3 3 .entry-header { 4 padding: ms( 4) ms(1);4 padding: ms( 4 ) ms( 1 ); 5 5 text-align: center; 6 6 7 7 .entry-title { 8 font-size: ms( 8);8 font-size: ms( 11 ); 9 9 font-weight: 100; 10 letter-spacing: 0.04rem;11 10 line-height: inherit; 12 11 margin: 1rem auto; … … 15 14 .entry-description { 16 15 color: rgba( 255, 255, 255, 0.8); 17 font-size: ms( 0);16 font-size: ms( 4 ); 18 17 margin-top: -0.4rem; 19 18 } … … 22 21 .entry-content { 23 22 overflow: hidden; 23 24 @include breakpoint( 640px ) { 25 overflow: initial; 26 } 24 27 } 25 28 26 .shape { 27 height: 250px; 28 margin: 0 auto; 29 opacity: 0.9; 29 .shapes { 30 height: 480px; 31 margin: 4rem 0; 30 32 position: relative; 31 text-align: center;32 transform: skew(-15deg);33 width: 300px;34 33 35 &.community { 36 background-color: #685692; 37 bottom: 50px; 38 margin-right: -5%; 39 } 40 41 &.technology { 42 background-color: #027bb4; 43 margin-left: -5%; 44 top: 50px; 45 } 46 47 .dashicons-before { 34 .shape { 48 35 color: #fff; 49 36 display: block; 50 position: relative; 51 top: 30%; 37 height: 260px; 38 margin: 0 auto; 39 opacity: 0.9; 40 padding: 4.2rem 0; 41 position: absolute; 42 text-align: center; 43 transform: skew( -15deg) ; 44 width: 310px; 52 45 53 46 &:before { 54 47 font-size: ms( 12 ); 55 48 height: 64px; 56 transform: skew( 15deg);49 transform: skew( 15deg ); 57 50 width: 64px; 51 } 52 53 &:hover, 54 &:focus, 55 &:active { 56 text-decoration: none; 57 } 58 59 &.technology { 60 background-color: darken( #0073aa, 2% ); 61 top: 0; 62 left: 0; 63 z-index: 1; 64 65 &:hover, 66 &:focus, 67 &:active { 68 background-color: darken( #0073aa, 12% );; 69 } 70 } 71 72 &.community { 73 background-color: #67598e; 74 right: 0; 75 bottom: 0; 76 77 &:hover, 78 &:focus, 79 &:active { 80 background-color: darken( #67598e, 10% ); 81 } 82 } 83 84 h3, p { 85 margin: 0; 86 transform: skew( 15deg ); 58 87 } 59 88 } 60 89 61 h3, p { 62 margin: 0; 63 transform: skew(15deg); 90 @include breakpoint( 480px ) { 91 height: 610px; 92 93 .shape { 94 height: 336px; 95 padding: 6.555rem 0; 96 width: 400px; 97 } 98 } 99 100 @include breakpoint( 640px ) { 101 height: 580px; 102 103 .shape { 104 height: 315px; 105 padding: 4.5rem 0; 106 width: 480px; 107 108 &:before { 109 font-size: ms( 14 ); 110 height: 84px; 111 width: 84px; 112 } 113 } 114 } 115 116 @include breakpoint( 768px ) { 117 height: 323px; 118 margin: 4rem 0; 119 120 .shape { 121 height: 282px; 122 padding: 3.55rem 0; 123 width: 430px; 124 125 &.technology { 126 left: auto; 127 right: 45%; 128 top: 40px; 129 } 130 131 &.community { 132 bottom: auto; 133 left: 45%; 134 } 135 } 136 } 137 138 @include breakpoint( 1024px ) { 139 height: 420px; 140 141 .shape { 142 height: 380px; 143 padding: 5.66rem 0; 144 width: 580px; 145 146 &.technology { 147 right: 43%; 148 } 149 150 &.community { 151 left: 43%; 152 } 153 154 &:before { 155 font-size: ms( 16 ); 156 height: 108px; 157 width: 108px; 158 } 159 } 160 } 161 } 162 163 .freedoms { 164 text-align: center; 165 166 h4 { 167 font-weight: 300; 64 168 } 65 169 }
Note: See TracChangeset
for help on using the changeset viewer.