Common.css: Difference between revisions
From Redrock Wiki
No edit summary |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
.poweredby::after { | .poweredby::after { | ||
content: " — The Redrock Wiki provides documentation for TracCloud™ by Redrock Software Corporation"; | content: " — The Redrock Wiki provides documentation for TracCloud™ by Redrock Software Corporation"; | ||
} | } | ||
| Line 78: | Line 64: | ||
.dashed { | .dashed { | ||
border: 1px dashed black; | border: 1px dashed black; | ||
} | } | ||
| Line 99: | Line 71: | ||
border-radius: 5px; | border-radius: 5px; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
margin-top: 0.4em; | |||
p { | p { | ||
font-weight: bold; | font-weight: bold; | ||
| Line 110: | Line 84: | ||
background-color: #D9EDF7; | background-color: #D9EDF7; | ||
border: 1px solid #BCE8F1; | border: 1px solid #BCE8F1; | ||
color:#31708F; | color:#31708F !important; | ||
p { color:#31708F !important; } | |||
} | } | ||
| Line 123: | Line 98: | ||
background-color: #F2DEDE; | background-color: #F2DEDE; | ||
border: 1px solid #EBCCD1; | border: 1px solid #EBCCD1; | ||
color:#A94442; | color:#A94442 !important; | ||
p { color:#A94442 !important; } | |||
} | } | ||
| Line 164: | Line 140: | ||
font-weight: bold; | font-weight: bold; | ||
color: white; | color: white; | ||
border-radius: | border-radius: 15px; | ||
text-align: center; | text-align: center; | ||
margin-bottom: 0.5%; | |||
} | } | ||
| Line 179: | Line 153: | ||
width: calc(100% + 30px); | width: calc(100% + 30px); | ||
margin-left: -15px; | margin-left: -15px; | ||
} | |||
.videoBox { | |||
width: 100%; | |||
background-color: #FF0000; | |||
border-radius: 15px; | |||
border: 1px solid #FF0000; | |||
text-align: center; | |||
padding: 1px; | |||
margin-bottom: 0.5em; | |||
} | |||
.scrollImage { | |||
height: 400px; | |||
width: fit-content; | |||
overflow: scroll; | |||
margin-bottom: 1em; | |||
} | |||
.scrollImage::before { | |||
font-style: italic; | |||
content: "Scroll image to see more." | |||
} | } | ||
Latest revision as of 15:52, 18 June 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";
}
/* 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;
}
/* Announcement boxes */
.tcAnnouncement {
padding: 10px 20px 10px 20px;
border-radius: 5px;
margin-bottom: 1em;
margin-top: 0.4em;
p {
font-weight: bold;
}
.fa-solid {
margin-right: 1em;
}
}
.blue {
background-color: #D9EDF7;
border: 1px solid #BCE8F1;
color:#31708F !important;
p { color:#31708F !important; }
}
.green {
background-color: #dff0d8;
border: 1px solid #D6E9C6;
color:#3c763d !important;
p { color:#3c763d !important; }
}
.red {
background-color: #F2DEDE;
border: 1px solid #EBCCD1;
color:#A94442 !important;
p { color:#A94442 !important; }
}
/* 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: 15px;
text-align: center;
margin-bottom: 0.5%;
}
/* this is a temporary solution to keep the main menu looking the same */
.hrMain {
height:5px;
border:none;
color:#EEEEEE;
background-color:#EEEEEE;
width: calc(100% + 30px);
margin-left: -15px;
}
.videoBox {
width: 100%;
background-color: #FF0000;
border-radius: 15px;
border: 1px solid #FF0000;
text-align: center;
padding: 1px;
margin-bottom: 0.5em;
}
.scrollImage {
height: 400px;
width: fit-content;
overflow: scroll;
margin-bottom: 1em;
}
.scrollImage::before {
font-style: italic;
content: "Scroll image to see more."
}
/* 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;
}