Common.css: Difference between revisions
From Redrock Wiki
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
} | } | ||
/* | /* This is used to draw categories on a page */ | ||
*/ | |||
.categoryDynamic { | .categoryDynamic { | ||
max-width: fit-content; | max-width: fit-content; | ||
| Line 77: | Line 40: | ||
/* The category template uses this */ | /* The category template uses this */ | ||
.categoryBox { | .categoryBox { | ||
background: #FFFFFF; | background: #FFFFFF; | ||
| Line 89: | Line 51: | ||
/* Dashboards stuff */ | /* Dashboards stuff */ | ||
.tcWidget { | .tcWidget { | ||
border-radius: 5px; | border-radius: 5px; | ||
Revision as of 23:42, 30 March 2026
/* CSS placed here will be applied to all skins */
.guideTabs {
background: #FFFFFF;
border-radius: 5px;
border: 1px solid #c2c2c2;
padding-top: 0.5em;
padding-bottom: 0.4em;
margin: 0em 0.5em 1em 0.5em;
font-weight: bold;
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: 7em;
}
.guideTabsTight {
background: #FFFFFF;
border-radius: 5px;
border: 1px solid #c2c2c2;
padding-top: 0.5em;
padding-bottom: 0.4em;
margin: 0em 0.05em 1em 0.05em;
font-weight: bold;
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: 7em;
}
/* This is used to draw categories on a page */
.categoryDynamic {
max-width: fit-content;
float: right;
padding-bottom: 20px;
padding-left: 20px;
}
/* The category template uses this */
.categoryBox {
background: #FFFFFF;
border-radius: 5px;
border: 1px solid #c2c2c2;
padding: 3px;
padding-right: 10px;
font-weight: bold;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
}
/* Dashboards stuff */
.tcWidget {
border-radius: 5px;
margin-bottom: 16px;
border: 1px solid #e5e5e5;
background: #ffffff;
padding: 15px;
font-weight: bold;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
}
.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);
}
.tcAnnouncement {
background-color: #D9EDF7;
padding: 10px 20px 10px 20px;
border: 1px solid #BCE8F1;
border-radius: 5px;
color:#31708F;
margin-bottom: 1em;
}
.tcAnnouncement2 {
background-color: #dff0d8;
padding: 10px 20px 10px 20px;
border: 1px solid #D6E9C6;
border-radius: 5px;
color:#3c763d;
margin-bottom: 1em;
}
/* This class is used because the hr tag doesn't work well with categories */
.line {
border-top: 1px solid #dddddd;
overflow: hidden;
width: auto;
padding-top: 10px;
margin-bottom: 0.6em;
}
.lineStatus {
border-top: 1px solid #000000;
overflow: hidden;
width: 50%;
padding-top: 5px;
}
.hide {
display: none;
}
.pageTitle {
font-size: 30px;
text-align: center;
color: #262626;
}
/* 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;
}
/* 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;
}