Difference between revisions of "Template:Splat"

From Carpe Noctem
Jump to: navigation, search
Line 8: Line 8:
 
   grid-template-areas: 'item2' 'item1';
 
   grid-template-areas: 'item2' 'item1';
 
   margin-top: -50px;
 
   margin-top: -50px;
 +
}
 +
 +
.item1 {
 +
  grid-area: item1;
 +
}
 +
 +
.item2 {
 +
  grid-area: item2;
 
}
 
}
  
Line 15: Line 23:
 
   grid-template-columns: auto 35%;
 
   grid-template-columns: auto 35%;
 
   padding: 10px;
 
   padding: 10px;
   grid-template-areas: 'item1 item2';
+
   grid-template-areas: 'item1' 'item2';
 
}
 
}
 
.item1 {
 
.item1 {

Revision as of 09:02, 2 February 2020


This template helps to keep formatting consistent across splat pages.