File tree Expand file tree Collapse file tree 2 files changed +34
-7
lines changed
Expand file tree Collapse file tree 2 files changed +34
-7
lines changed Original file line number Diff line number Diff line change 8181 letter-spacing : 0.01em ;
8282
8383 & .small {
84- font-size : 3 vw ;
84+ font-size : 2.8 vw ;
8585
8686 @media all and (max-width : 768px ) {
8787 font-size : 6vw ;
Original file line number Diff line number Diff line change 22 <div >
33 <div class =" fl-column aself-start standard-padding" >
44 <div
5- v-for =" ([resType, resArr]) in Object.entries(research!)"
5+ v-for =" ([resType, resArr], i ) in Object.entries(research!)"
66 :key =" resType"
77 >
8- <PageTitle style =" margin-left : 0 ; padding-left : 0 ;" >
9- {{ resType }}
8+ <PageTitle
9+ class =" res-page-title"
10+ :class =" { first: i === 0 }"
11+ >
12+ {{ resType }}:
1013 </PageTitle >
1114 <Motion
1215 v-for =" (res) in resArr"
@@ -122,13 +125,18 @@ onMounted(() => {
122125@import ' @/assets/scss/variables' ;
123126
124127.publication {
125- border-bottom : 2px solid $plain-text ;
126- padding : 3vw 0 1.5vw ;
128+ padding : 0 0 1.5vw ;
127129 width : 100% ;
128130 opacity : 0 ;
131+ margin : 2vw 0 ;
129132
130133 @media all and (max-width : 768px ) {
131- padding : 6vw 0 3vw ;
134+ padding : 0 0 3vw ;
135+ margin : 4vw 0 ;
136+ }
137+
138+ & :last-child {
139+ border-bottom : 2px solid $plain-text ;
132140 }
133141}
134142
@@ -214,4 +222,23 @@ onMounted(() => {
214222 color : $secondary ;
215223 }
216224}
225+
226+ .res-page-title {
227+ margin-left : 0 ;
228+ padding-left : 0 ;
229+ margin-bottom : 4vw ;
230+ margin-top : 0 ;
231+
232+ @media all and (max-width : 768px ) {
233+ margin-bottom : 6vw ;
234+
235+ & .first {
236+ margin-top : 4vw ;
237+ }
238+ }
239+
240+ & .first {
241+ margin-top : 2vw ;
242+ }
243+ }
217244 </style >
You can’t perform that action at this time.
0 commit comments