MediaWiki
Group-Grouse.css: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
| Line 105: | Line 105: | ||
.encounterContainer { | .encounterContainer { | ||
position: relative; | position: relative; | ||
height: | height: 100%; | ||
} | } | ||
Revision as of 22:21, 6 March 2025
.mw-headline + .mw-editsection {
display: none;
}
h2 {
font-size: 0em;
}
h2.c-header.active {
font-size: 1.3em;
}
h2.c-header.hidden {
font-size: 1.3em;
}
h3 {
font-size: 0em;
}
h3.c-header.active {
font-size: 1.1em;
}
h3.c-header.hidden {
font-size: 1.1em;
}
#talkpagelink {
width: 30px;
position: absolute;
right: 7.5em;
top: 0.3em;
}
@media only screen and (max-width: 73.75rem) {
table.mobiletoc {
top: 10em;
}
#sidebarlogo {
top: 2em;
}
}
@media only screen and (max-width: 51.063rem) {
table.mobiletoc {
top: 14em;
}
#sidebarlogo {
top: 1em;
left: 4vw;
}
#sidebarlogo img {
height: 100px;
}
}
@media only screen and (max-width: 47rem) {
table.mobiletoc {
top: 18em;
}
#sidebarlogo {
top: 4em;
left: 4vw;
}
#sidebarlogo img {
height: 100px;
}
}
@media only screen and (max-width: 42.5rem) {
table.mobiletoc {
top: 18em;
}
#sidebarlogo {
top: 4em;
left: 4vw;
}
#sidebarlogo img {
height: 100px;
}
}
.encounter {
border: 1px solid #3e3e3e;
max-width: 640px;
margin-left: auto;
margin-right: auto;
width: 100%;
margin-bottom: 3em;
border-collapse: collapse;
}
.encounterContainer {
position: relative;
height: 100%;
}
.encounterTimeParameters {
position: absolute;
top: .5rem;
left: .5rem;
background: rgba(0, 0, 0, 0.25);
border-radius: 4px;
display: flex;
}
.encounterStatusParameters {
position: absolute;
top: .5rem;
right: .5rem;
background: rgba(0, 0, 0, 0.25);
border-radius: 4px;
display: flex;
}
.timeParameter, .seasonParameter, .weatherParameter {
cursor: help;
height: 24px;
width: 24px;
margin: .25rem;
text-align: center;
}
.encounterHeader p {
font-weight: bold;
color: white;
}
.encounterHeader {
background-color: #3a5f70;
padding: .5rem;
}
.encounterPrompt {
padding: 0.5rem;
background-color: #dbdbdb;
border: 1px solid #3e3e3e;
}
.encounterPrompt p {
font-weight: bold;
}
.encounterOption {
width: 20%;
background-color: #bfbfbf;
padding: 0.5rem;
text-align: center;
vertical-align: middle;
border: 1px solid #3e3e3e;
border-bottom: none;
}
.encounterOption p {
font-weight: bold;
}
.encounterResult {
width: 50%;
padding: 0.5rem;
vertical-align: middle;
border: 1px solid #3e3e3e;
}
.encounterReward {
width: 30%;
padding: 0.5rem;
vertical-align: middle;
border: 1px solid #3e3e3e;
}
.encounterReward img {
max-width: 32px;
}
.timeParameter::after {
background: rgba(0, 0, 0, 0.75);
border-radius: 4px;
color: #FFF;
content: attr(aria-label);
font-weight: bold;
padding: 0.1em;
position: absolute;
left: 0;
top: 2.2em;
white-space: nowrap;
z-index: 9999;
text-align: left;
display: none;
width: 155px;
text-align: center;
}
.timeParameter:hover:after {
display: block;
}
.seasonParameter::after {
background: rgba(0, 0, 0, 0.75);
border-radius: 4px;
color: #FFF;
content: attr(aria-label);
font-weight: bold;
padding: 0.1em;
position: absolute;
right: 0;
top: 2.2em;
white-space: nowrap;
z-index: 9999;
text-align: left;
display: none;
width: 200px;
text-align: center;
}
.weatherParameter::after {
background: rgba(0, 0, 0, 0.75);
border-radius: 4px;
color: #FFF;
content: attr(aria-label);
font-weight: bold;
padding: 0.1em;
position: absolute;
right: 0;
top: 2.2em;
white-space: nowrap;
z-index: 9999;
text-align: left;
display: none;
width: 200px;
text-align: center;
}
.seasonParameter:hover:after {
display: block;
}
.weatherParameter:hover:after {
display: block;
}
.logContainer {
position: relative;
cursor: help;
}
.optionLog {
background-color: #bfbfbf;
padding: 0rem 0rem 0rem 0.5rem;
height: 0px;
border-top: none;
text-align: left;
vertical-align: bottom;
}
.logButton {
height: 0px;
}
.logButton img {
width: 20px;
position: relative;
bottom: 2em;
cursor: help;
}
.logButton::after {
background: rgba(0,0,0,0.75);
border-radius: 4px;
color: #FFF;
content: attr(aria-label);
font-weight: 700;
padding: 3px 12px;
position: absolute;
left: 0;
top: 5px;
white-space: nowrap;
z-index: 9999;
display: none;
}
.logButton:hover:after {
display: block;
}
@media only screen and (max-width: 40em) {
.encounter p {
font-size: 11px;
}
.weatherParameter::after {
font-size: 11px;
}
.timeParameter::after {
font-size: 11px;
}
.seasonParameter::after {
font-size: 11px;
}
.logButton::after {
font-size: 11px;
}
