Main Page/CSS: Difference between revisions

From Kronopolis and the Flat Plane
mNo edit summary
Tag: wikieditor
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
}
}


div.main-page-section {
.main-page-section {
column-count: 4;  
column-count: 4;  
column-rule: 1px solid #20242A;
column-rule: 1px solid #20242A;
break-inside: avoid-column;
break-inside: avoid-column;
}
}
div.main-page-section > p:has(a[title="Category:Category]) {
.main-page-section ul {
margin-top: 0 !important;
}
.main-page-section ul ul {
margin-top: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
margin-bottom: 0 !important;
}
}
ul ul {
 
.category-tree {
margin-top:1.5em;
column-count: 1;
}
.category-tree > p {
margin-top: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
margin-bottom: 0 !important;
Line 20: Line 28:
   .main-page-section {
   .main-page-section {
     column-count: 2;  
     column-count: 2;  
  }
  .category-tree {
    column-count: 1;
   }
   }
}
}
}}
}}

Latest revision as of 12:06, 8 March 2024