MediaWiki

Common.css: Difference between revisions

From Redrock Wiki

No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
:root {
  --redrockRed: #610215;
}


.poweredby::after {
.poweredby::after {
Line 33: Line 37:
/* The category templates use this */
/* The category templates use this */
.categoryBox {
.categoryBox {
  background: #FFFFFF;
   border-radius: 5px;
   border-radius: 5px;
   border: 1px solid #c2c2c2;  
   border: 1px solid #c2c2c2;  
Line 39: Line 42:
   padding-right: 10px;
   padding-right: 10px;
   box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
   box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
}
  p {
.categoryBox p {
    font-weight: bold;
  font-weight: bold;
  }
}
  h2 {
.categoryBox h2 {
    margin:3px;
  margin:3px;
    font-size:120%;
  font-size:120%;
    color: var(--redrockRed);
  color:#8D182B;
    font-weight:bold;
  font-weight:bold;
    cursor:pointer;
  cursor:pointer;
  }
}
  hr {
.categoryBox hr {
    margin-top: 0.1em;
  margin-top: 0.1em;
    margin-bottom: 0.2em;
  margin-bottom: 0.2em;
  }
}
}


.collapsibleList:hover {
.collapsibleList:hover {
   color: #681D29FA;
   /* color: #681D29FA; */
  filter: brightness(60%);
}
}


Line 65: Line 69:
   margin-bottom: 1em;
   margin-bottom: 1em;
   font-size: 18px;
   font-size: 18px;
}
  p {
.collapsible p {
    font-size: 18px;
  font-size: 18px;
  }
}
}


Line 88: Line 92:
   box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
   box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
   overflow: auto;
   overflow: auto;
}
.skin-theme-clientpref-night .tcWidgetPage {
  all: unset;
}
}


/* Announcement classes */
/* Announcement boxes */
.tcAnnouncement {
.tcAnnouncement {
   padding: 10px 20px 10px 20px;
   padding: 10px 20px 10px 20px;
   border-radius: 5px;
   border-radius: 5px;
   margin-bottom: 1em;
   margin-bottom: 1em;
}
  p {
.tcAnnouncement p {
    font-weight: bold;
  font-weight: bold;
  }
}
  .fa-solid {
.tcAnnouncement .fa-solid {
    margin-right: 1em;
  margin-right: 1em;
  }
}
}


Line 131: Line 132:
/* title for all articles */
/* title for all articles */
.pageTitle {
.pageTitle {
font-size: 30px;
  font-size: 30px;
text-align: center;
  text-align: center;
color: #262626;
}
 
/* ??? */
.lineStatus {
border-top: 1px solid #000000;
overflow: hidden;
width: 50%;
padding-top: 5px;
}
}


Line 167: Line 159:
   color:#333;
   color:#333;
   background-color:#333;
   background-color:#333;
}
/* this is used a lot */
.center {
  text-align: center;
}
/* Used for the tier bar along top of pages */
.tierBar {
background: var(--redrockRed);
width: 100%;
font-weight: bold;
color: white;
border-bottom-right-radius: 25px;
border-bottom-left-radius: 25px;
text-align: center;
position: relative;
top: -15px;
margin-bottom: -10px;
}
}



Latest revision as of 15:22, 17 April 2026

/* CSS placed here will be applied to all skins */

:root {
  --redrockRed: #610215;
}

.poweredby::after {
  content: " — The Redrock Wiki provides documentation for TracCloud by Redrock Software Corporation";
}

/* top bar for user manual and reports, plus dashboard quick links */
.guideTabs {
  background: #FFFFFF;
  border-radius: 5px;
  border: 1px solid #c2c2c2;
  padding: 0.5em 0.4em 0.4em 0.4em;
  margin: 0em 0.05em 1em 0.05em;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
  text-align: center;
  display: inline-block;
  width: 12%;
  min-width: fit-content;
  white-space: nowrap;
}
.guideTabs p {
  font-weight: bold;
}

/* This is used to draw categories on a page */
.categoryDynamic {
  max-width: fit-content;
  float: right;
  padding-bottom: 20px;
  padding-left: 20px;
}

/* The category templates use this */
.categoryBox {
  border-radius: 5px;
  border: 1px solid #c2c2c2; 
  padding: 3px;
  padding-right: 10px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
  p {
    font-weight: bold;
  }
  h2 {
    margin:3px;
    font-size:120%;
    color: var(--redrockRed);
    font-weight:bold;
    cursor:pointer;
  }
  hr {
    margin-top: 0.1em;
    margin-bottom: 0.2em;
  }
}

.collapsibleList:hover {
  /* color: #681D29FA; */
  filter: brightness(60%);
}

/* Used for collapsible chapters */
.collapsible {
  float: left; 
  margin-top: 0em; 
  margin-bottom: 1em;
  font-size: 18px;
  p {
    font-size: 18px;
  }
}

.collapsedDefault #list {
  display: none !important;
}

/* Used for syntax highlight boxes */
.dashed {
  border: 1px dashed black;
}

/* TracCloud-style content boxes */
.tcWidgetPage {
  border-radius: 5px;
  margin-bottom: 16px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
  overflow: auto;
}

/* Announcement boxes */
.tcAnnouncement {
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
  margin-bottom: 1em;
  p {
    font-weight: bold;
  }
  .fa-solid {
    margin-right: 1em;
  }
}

.blue { 
  background-color: #D9EDF7;
  border: 1px solid #BCE8F1;
  color:#31708F;
}

.green {
  background-color: #dff0d8;
  border: 1px solid #D6E9C6;
  color:#3c763d;
}

.red {
  background-color: #F2DEDE;
  border: 1px solid #EBCCD1;
  color:#A94442;
}

/* alternative to comments */
.keywords, .hide {
  display: none;
}

/* title for all articles */
.pageTitle {
  font-size: 30px;
  text-align: center;
}

/* These are specifically for what's new articles beginning July 2025 */
.newsBlock {
width: 100%; 
display: block; 
overflow: hidden;
}
.newsCategory {
float:left; 
width: 20%; 
display: table;
}
.newsContent {
float:right; 
width: 80%; 
display: table;
}

/* Used on the what's new page primarily */
.hrBold {
  height:1px;
  border:none;
  color:#333;
  background-color:#333;
}

/* this is used a lot */
.center {
  text-align: center;
}

/* Used for the tier bar along top of pages */
.tierBar {
 background: var(--redrockRed); 
 width: 100%;
 font-weight: bold;
 color: white;
 border-bottom-right-radius: 25px;
 border-bottom-left-radius: 25px;
 text-align: center;
 position: relative;
 top: -15px;
 margin-bottom: -10px;
}

/* Cleaning up TracCloud blog category page since it's client-facing now */
.mw-category-generated h2,
.mw-category-generated p,
.mw-category-generated h3 {
display:none;
}