@@ -62,11 +62,11 @@ const colorscheme = computed(() => {
6262 <template v-else >
6363 <div class =" flex flex-col h-full w-full" >
6464 <div class =" w-full h-fit min-h-13 pt-2 pb-2 slidecolor" :class =" colorscheme" >
65- <div class =" slidev-layout toptitlebar p-0 ml-6 mr-6 mt-auto mb-auto" :class =" alignment.t" >
65+ <div class =" slidev-layout toptitle title p-0 ml-6 mr-6 mt-auto mb-auto" :class =" alignment.t" >
6666 <slot name =" title" />
6767 </div >
6868 </div >
69- <div class =" slidev-layout toptitlecontent w-full" >
69+ <div class =" slidev-layout toptitle content w-full" >
7070 <div class =" flex flex-row h-full w-full" >
7171 <div class =" col-left" :class =" alignment.l" >
7272 <slot name =" left" />
@@ -84,14 +84,14 @@ const colorscheme = computed(() => {
8484</template >
8585
8686<style >
87- .slidev-layout.toptitlecontent {
87+ .slidev-layout.toptitle .content {
8888 padding-top : 1.3rem ;
8989}
9090
91- .slidev-layout.toptitlecontent h1 + ul {
91+ .slidev-layout.toptitle .content h1 + ul {
9292 margin-top : 0em ;
9393}
94- .slidev-layout.toptitlecontent h2 + ul {
94+ .slidev-layout.toptitle .content h2 + ul {
9595 margin-top : 0em ;
9696}
9797
@@ -110,59 +110,63 @@ li li {
110110 margin-bottom : 0rem ;
111111}
112112
113- .slidev-layout.toptitlecontent h2 {
113+ .slidev-layout.toptitle .content h2 {
114114 font-size : 1.4em ;
115115 font-family : var (--neversink-title-font );
116116 font-weight : 500 ;
117117 margin-bottom : 0rem ;
118118}
119119
120- .slidev-layout.toptitlecontent h3 {
120+ .slidev-layout.toptitle .content h3 {
121121 font-size : 1.1em ;
122122 font-family : var (--neversink-title-font );
123123 font-weight : 500 ;
124124 margin-bottom : 0rem ;
125125}
126126
127- .toptitlebar {
127+ .slidev-layout .toptitle .title {
128128 padding : 0 ;
129129 margin : 0 ;
130130 margin-left : 20px ;
131131 margin-right : 20px ;
132132}
133133
134- .slidev-layout.toptitle h1 {
134+ .slidev-layout.toptitle.title h1 {
135135 font-size : 1.8em ;
136136 font-family : var (--neversink-title-font );
137137 font-weight : 500 ;
138- padding-left : 25px ;
139138 letter-spacing : 0.07em ;
140139}
141140
142- .slidev-layout.toptitle h2 {
141+ .slidev-layout.toptitle.title h2 {
143142 font-size : 1.5em ;
144143 font-family : var (--neversink-title-font );
145144 font-weight : 300 ;
146- padding-left : 25px ;
147145 letter-spacing : 0.07em ;
148146}
149147
150- .slidev-layout.toptitle h3 {
148+ .slidev-layout.toptitle.title h3 {
151149 font-size : 1.1em ;
152150 font-family : var (--neversink-title-font );
153151 font-weight : 300 ;
154- padding-left : 25px ;
155152 letter-spacing : 0.07em ;
156153}
154+
155+ .slidev-layout.toptitle.title h1 + p ,
156+ .slidev-layout.toptitle.title h2 + p ,
157+ .slidev-layout.toptitle.title h3 + p {
158+ margin-top : 0.85em ;
159+ margin-bottom : 0.3em ;
160+ }
157161 </style >
158162
159163<style scoped>
160- .slidev-layout.toptitlecontent .col-left {
164+ .slidev-layout.toptitle.content .col-left {
161165 flex : v-bind(colwidth.l); /* Makes each column take up equal space */
162166 margin-right : 15px ;
163167}
164168
165- .slidev-layout.toptitlecontent .col-right {
169+ .slidev-layout.toptitle.content .col-right {
166170 flex : v-bind(colwidth.r); /* Makes each column take up equal space */
167171 margin-left : 15px ;
168172}
0 commit comments