Changeset 12183 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/vendor/_sensei.scss
- Timestamp:
- 11/02/2022 12:41:30 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/vendor/_sensei.scss
r12061 r12183 4 4 padding: 0; 5 5 } 6 } 7 8 &.course:not(.post-type-archive-course) article.course:first-child, 9 &.lesson #main-content { 10 padding: 4rem 0; 11 } 12 13 &.course article.course header, 14 &.lesson #main-content header { 15 border-bottom: 1px solid #eee; 16 margin-bottom: 1rem; 17 } 18 19 &.lesson .bbp-breadcrumb { 20 display: none; 21 } 22 23 &.lesson #main-content header { 24 padding-bottom: 1rem; 25 } 26 27 &.course article.course p, 28 &.course article.course li, 29 &.lesson #main-content table { 30 font-size: 16px; 31 } 32 33 &.course article.course .wp-block-image, 34 &.lesson #main-content .wp-block-image, 35 &.course article.course .wp-block-media-text, 36 &.lesson #main-content .wp-block-media-text { 37 margin: 2rem 0; 38 } 39 40 &.course article.course hr, 41 &.lesson #main-content hr { 42 margin: 2rem 0; 43 } 44 45 &.lesson #main-content nav.post-entries { 46 width: 100%; 47 } 48 49 &.lesson #main-content nav.post-entries div, 50 &.quiz #main-content nav.post-entries div { 51 display: block; 52 width: 45% !important; 53 padding: 1rem; 54 margin: 1rem 0; 55 font-style: italic; 56 } 57 58 &.lesson #main-content nav.post-entries div.fl, 59 &.quiz #main-content nav.post-entries div.fl { 60 padding-left: 0; 61 } 62 63 &.lesson #main-content nav.post-entries div.fr, 64 &.quiz #main-content nav.post-entries div.fr { 65 padding-right: 0; 66 text-align: right; 67 } 68 69 &.lesson #main-content .sensei-breadcrumb, 70 &.quiz #main-content .sensei-breadcrumb { 71 padding: 1rem; 6 72 } 7 73 } … … 30 96 } 31 97 } 98 99 h2.wp-block-sensei-lms-course-outline-module__title { 100 color: #fff !important; 101 } 102 103 .wp-block-sensei-lms-lesson-properties { 104 padding: 1rem; 105 border: 1px solid #e7e7e7; 106 display: inline-block; 107 display: flex; 108 justify-content: center; 109 margin-bottom: 1rem; 110 } 111 112 ol#sensei-quiz-list { 113 padding-left: 2rem; 114 } 115 116 .sensei-quiz-action { 117 .button { 118 height: auto !important; 119 } 120 } 121 122 details { 123 border: 1px solid #e7e7e7; 124 padding: 0 .9em; 125 background: #f7f7f7; 126 margin: 1em 0; 127 display: flex; 128 129 summary::before { 130 content: "\025B8"; 131 margin-right: .5em; 132 font-size: 200%; 133 display: inline; 134 vertical-align: bottom; 135 line-height: 1.4; 136 } 137 138 &[open] summary::before { 139 content: "\025BE"; 140 } 141 142 summary { 143 display: inline-block; 144 font-weight: bold; 145 cursor: pointer; 146 line-height: 2.8; 147 } 148 }
Note: See TracChangeset
for help on using the changeset viewer.