MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* titles for pages */
/*
.standard-title {
<div class='timeline-entry--box'>
   display: inline-block;
<div class='timeline-entry--header'>
<div class='timeline-entry--time'>Almost 50,000 Years Ago</div>
<div class='timeline-entry--title'>The Event In Question</div>
</div>
<div class='timeline-entry--quotebox'>
<div class='timeline-entry--quote'>Something Terrible Happened Today (and I'm making it your problem)</div>
<div class='timeline-entry--author'>The Last Remaining Gyaru Auril</div>
<div class='timeline-entry--source'>SoleAdmirers</div>
</div>
<div class='timeline-entry--body'>
<div class='timeline-entry--event'>(insert 50 pages of tragic OC species backstory here)</div>
</div>
</div>
*/
 
.timeline-container {
  counter-reset: timeline-number;
   display: flex;
  flex-direction: column;
}
 
.timeline-header {
   width: 100%;
   width: 100%;
   font-weight: bold;
   display: flex;
   font-size: 2em;
   flex-direction: column;
   margin-top: 0.67em;
   align-items: center;
  margin-bottom: 0.67em;
}
  margin-left: 0;
 
  margin-right: 0;
.timeline-header hr {
   box-shadow: 3px 3px 2px 0px #888888;
   width: 75%;
   background-color: #000000;
   background-color: #000000;
   color: #ffaa00;
   border: 1px solid #000000;
}
}


/* hierarchy - generic */
.timeline-entry--box {
.hierarchy-generic-button {
  counter-increment: timeline-number;
  flex: 1;
  width: 45%;
   text-shadow: 5px 5px black;
  display: flex;
  flex-direction: column;
  padding: 1em;
  margin: 0.25em;
  /* todo: lightmode */
  background-color: rgba(55, 55, 55, 0.1);
  --timeline-entry-title-order: 1;
   --timeline-entry-time-order: 2;
}
}


.timeline-entry--box:nth-of-type(even) {
  --timeline-entry-title-order: 2;
  --timeline-entry-time-order: 1;
  align-self: end;
}


.hierarchy-generic-button a {
.timeline-entry--header {
   text-decoration: none;
   width: 100%;
   font-family: Impact, Courier New, monospace;
   display: flex;
   font-weight: normal;
   justify-content: space-between;
  font-variant: small-caps;
   padding: 0.25em;
  font-size: 400%;
   color: #00dbcd;
}
}


.hierarchy-generic-button a:hover {
.timeline-entry--time {
    
   order: var(--timeline-entry-time-order);
}
}


.hierarchy-generic-segment {
.timeline-entry--title {
   flex: 1;
   order: var(--timeline-entry-title-order);
   display: flex;
   flex-grow: 1;
  align-items: center;
   text-align: center;
   justify-items: center;
  border: 0;
  text-shadow: 5px 5px black;
}
}


.hierarchy-generic-container {
.timeline-entry--quotebox {
   width: 100%;
   width: 100%;
   min-height: 50px;
   padding: 0.25em;
  align-items: stretch;
}
  text-align: center;
 
  margin: auto;
.timeline-entry--quote {
  display: flex;
 
  flex-direction: row;
}
  border: 0;
 
  justify-content: center;
.timeline-entry--author {
 
}
 
.timeline-entry--source {
 
}
}


/* hierarchy - main */
.timeline-story--body {
.hierarchy-main-container {
   width: 100%;
   width: 100%;
  padding: 0.25em;
}
}


/* hierarchy - policy */
.timeline-entry--event {


/* hierarchy - SoP */
}
 
/* hierarchy - lore */

Latest revision as of 02:17, 18 December 2023

/*
<div class='timeline-entry--box'>
<div class='timeline-entry--header'>
<div class='timeline-entry--time'>Almost 50,000 Years Ago</div>
<div class='timeline-entry--title'>The Event In Question</div>
</div>
<div class='timeline-entry--quotebox'>
<div class='timeline-entry--quote'>Something Terrible Happened Today (and I'm making it your problem)</div>
<div class='timeline-entry--author'>The Last Remaining Gyaru Auril</div>
<div class='timeline-entry--source'>SoleAdmirers</div>
</div>
<div class='timeline-entry--body'>
<div class='timeline-entry--event'>(insert 50 pages of tragic OC species backstory here)</div>
</div>
</div>
*/

.timeline-container {
  counter-reset: timeline-number;
  display: flex;
  flex-direction: column;
}

.timeline-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-header hr {
  width: 75%;
  background-color: #000000;
  border: 1px solid #000000;
}

.timeline-entry--box {
  counter-increment: timeline-number;
  width: 45%;
  display: flex;
  flex-direction: column;
  padding: 1em;
  margin: 0.25em;
  /* todo: lightmode */
  background-color: rgba(55, 55, 55, 0.1);
  --timeline-entry-title-order: 1;
  --timeline-entry-time-order: 2;
}

.timeline-entry--box:nth-of-type(even) {
  --timeline-entry-title-order: 2;
  --timeline-entry-time-order: 1;
  align-self: end;
}

.timeline-entry--header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.25em;
}

.timeline-entry--time {
  order: var(--timeline-entry-time-order);
}

.timeline-entry--title {
  order: var(--timeline-entry-title-order);
  flex-grow: 1;
  text-align: center;
}

.timeline-entry--quotebox {
  width: 100%;
  padding: 0.25em;
}

.timeline-entry--quote {

}

.timeline-entry--author {

}

.timeline-entry--source {

}

.timeline-story--body {
  width: 100%;
  padding: 0.25em;
}

.timeline-entry--event {

}