MediaWiki

Common.css: Difference between revisions

From Redrock Wiki

No edit summary
No edit summary
 
(179 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 */


/* Hide titles */
:root {
.title { display: none; }
  --redrockRed: #610215;
#tagline { display: none; }
  --borderColor: #c2c2c2;
}


/* Link Color */
.poweredby::after {
a {color: #0645ad;}
  content: " — The Redrock Wiki provides documentation for TracCloud by Redrock Software Corporation";
}


/* Hover Color */
/* used at the top of almost all pages */
a:hover, a:focus {color: #032356;}
.newGuideTab {
 
  background: #FFFFFF;
.keywords {
  border-radius: 5px 5px 0px 0px;
  display: none;
  border-width: 1px;
  border-color: var(--borderColor);
  border-style: solid solid none solid;
  padding: 0.2em 0.4em 0.2em 0.4em;
  margin-bottom: -1px;
  display: inline-block;
  width: fit-content;
  p { font-weight: bold; }
}
}


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


.categoryWide {
/* The category templates use this */
   width: 16em;
.categoryBox {
   float: right;
   border-radius: 5px;
   padding-right: 0px;
   border: 1px solid #c2c2c2;
   padding-bottom: 20px;
  padding: 3px;
   padding-top: 0px;
   padding-right: 10px;
  padding-left: 20px;
   margin-bottom: -10px;
   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;
  }
}
}


.categoryExtraWide {
.collapsibleList:hover {
   width: 26em;
   /* color: #681D29FA; */
  float: right;
   filter: brightness(60%);
  padding-right: 0px;
  padding-bottom: 20px;
  padding-top: 0px;
   padding-left: 20px;
}
}


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


.categoryBox {
.collapsedDefault #list {
   background: #f3f3f3;
   display: none !important;
  border: 1px solid #c2c2c2;
  padding: 3px;
  font-weight: bold;
  line-height: 50px;
}
}


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


.tcWidget {
/* TracCloud-style content boxes */
   border-radius: 5px;
.tcWidgetPage {
   border-radius: 0px 5px 5px 5px;
   margin-bottom: 16px;
   margin-bottom: 16px;
   border: 1px solid #e5e5e5;
   border: 1px solid var(--borderColor);
   background: #ffffff;  
   background: #ffffff;
   padding: 15px;
   padding: 15px;
   font-weight: bold;
   overflow: auto;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
}
   line-height: 50px;
.dashboard {
   border-radius: 5px !important;
}
}


/* Announcement boxes */
.tcAnnouncement {
.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;
   background-color: #D9EDF7;
  padding: 10px 20px 10px 20px;
   border: 1px solid #BCE8F1;
   border: 1px solid #BCE8F1;
  border-radius: 5px;
   color:#31708F;
   color:#31708F;
  margin-bottom: 1em;
}
}


/* This class is used because the hr tag doesn't work well with categories */
.green {
.line {
  background-color: #dff0d8;
border-top: 1px solid #dddddd;
  border: 1px solid #D6E9C6;
overflow: hidden;
  color:#3c763d;
width: auto;
}
padding-top: 10px;
 
.red {
  background-color: #F2DEDE;
  border: 1px solid #EBCCD1;
  color:#A94442;
}
}


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


.mw-search { 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;
}
 
/* this is used a lot */
.center {
  text-align: center;
}


.mw-ui-button {
/* Used for the tier bar along top of pages */
color: grey;
.tierBar {
background: var(--redrockRed);
font-weight: bold;
color: white;
border-radius: 0px 0px 15px 15px;
text-align: center;
position: relative;
top: -15px;
margin: 0% 17% 0% 17%;
}
}


/* Reduce background brightness */
/* Cleaning up TracCloud blog category page since it's client-facing now */
#content { background-color: #F7F7F7; }
.mw-category-generated h2,
#bodyContent { background-color: #F7F7F7; }
.mw-category-generated p,
#firstHeading { background-color: #F7F7F7; }
.mw-category-generated h3 {
#catlinks { background-color: #F7F7F7; }
display:none;
#p-logo { background-color: #F7F7F7; }
}
#p-navigation { background-color: #F7F7F7; }
#p-navigation .pBody { background-color: #F7F7F7; }
#p-search { background-color: #F7F7F7; }
#p-search .pBody { background-color: #F7F7F7; }
#p-tb { background-color: #F7F7F7; }
#p-tb .pBody { background-color: #F7F7F7; }
#footer { background-color: #F7F7F7!important; }
body { background-color: #F7F7F7; }
#globalWrapper { background-color: #F7F7F7; }
#column-content { background-color: #F7F7F7; }
#column-one { background-color: #F7F7F7; }

Latest revision as of 15:56, 27 April 2026

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

:root {
  --redrockRed: #610215;
  --borderColor: #c2c2c2;
}

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

/* used at the top of almost all pages */
.newGuideTab {
  background: #FFFFFF;
  border-radius: 5px 5px 0px 0px;
  border-width: 1px;
  border-color: var(--borderColor);
  border-style: solid solid none solid;
  padding: 0.2em 0.4em 0.2em 0.4em;
  margin-bottom: -1px;
  display: inline-block;
  width: fit-content;
  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;
  margin-bottom: -10px;
  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: 0px 5px 5px 5px;
  margin-bottom: 16px;
  border: 1px solid var(--borderColor);
  background: #ffffff;
  padding: 15px;
  overflow: auto;
}
.dashboard {
  border-radius: 5px !important;
}

/* 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;
}

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

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

/* 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;
}