MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
Line 45: Line 45:
div.responsive-img img {
div.responsive-img img {
     height: auto;
     height: auto;
    max-width: 100%;
}
div.responsive-img-2 img {
    height: 100%;
     max-width: 100%;
     max-width: 100%;
}
}

Latest revision as of 18:16, 24 May 2024

/* Hide title and edit tools on main page */
.page-Star_Citizen_Wiki .mw-side,
.page-Star_Citizen_Wiki .firstHeading,
.page-Star_Citizen_Wiki #siteSub {
	display: none!important;
}

/* Force override until skin is updated */
.skin-citizen blockquote {
	margin: 0.8rem 20px;
	padding: 0;
}

.copy {  
  cursor: pointer;      
}
.command-template.copy:active {
  background-color: var(--color-surface-3);
}

.command-template.copy {
    border: 1px solid var(--border-color-base);
    background-color: var(--color-surface-2);
    font-family: var(--font-family-monospace);
    font-size: 0.875rem;
    color: var(--color-base--emphasized);
    padding: 2px 4px;
    border-radius: var(--border-radius--small);
    font-weight: normal;
    white-space: nowrap;
}
.command-template.copy abbr {
    text-decoration: none;
}
.command-template.copy {
  font-family: 'Minecraft';
  font-size: 0.7rem;
}

.responsive-iframe {
  width: 100%;
  height: 450px;
}

div.responsive-img img {
    height: auto;
    max-width: 100%;
}
div.responsive-img-2 img {
    height: 100%;
    max-width: 100%;
}
.page-Home .ajaxpoll-id-info, .page-Home .ajaxpoll .ajaxpoll-misc {
  display: none;
}
.page-Home .ajaxpoll .ajaxpoll-answer-vote {
  height: 1rem;
}
.page-Home .ajaxpoll label {
  padding: 0.2rem;
}

.mw-ui-icon-featured {
  width: 2rem;
  height: 2rem;
  margin: 0;
  background: url(https://www.prismparty.net/images/f/fe/Cubeylove.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-flex;
}

.external-image img {
  float: right; 
  width: 200px; 
  border: 2px solid var(--color-surface-0);
  border-radius: var(--border-radius--medium);
  margin-left: 1rem;
}

@media only screen and ( max-width: 720px ) {
  .external-image img {
    float: none; 
    width: 100%; 
    border: 2px solid var(--color-surface-0);
    border-radius: var(--border-radius--medium);
    margin-left: 0;
    margin-bottom: 1rem;
  }
}


.discord_format-main {
  padding: 2px;
  border-radius: 3px;
}
.discord_format-main:hover {    
  filter: brightness(1.02);
}
.discord_format-icon {      
  font-weight: bold;
}
.skin-citizen-light .discord_format-main {
  background-color: #e5e9fc;
  color: #546bea;
}
.skin-citizen-dark .discord_format-main {
  background-color: #2d3663;
  color: #c9cef8;
}

/* Fix recent updates page date section */
.page-Prism_Party_Updates .up-preview {
  display: none !important;
}
.page-Prism_Party_Updates .mw-parser-output .prevupdate-date {
  position: initial !important;
}
/*Calculator stylings*/
/* Calculator stylings */

#simple-calc__seed {
  display: none;
}

.simple-calc__label {
  font-size: 0.875rem;
  color: var(--color-base);
}

#simple-calc__input1, #simple-calc__input2, #simple-calc__input3 {
  padding: 6px 8px;
  line-height: var(--line-height-xs);
  color: var(--color-base--emphasized);
  background-color: var(--color-surface-0);
  border-color: var(--border-color-base--darker);
  border-radius: var(--border-radius--small);
  font-size: var(--font-size-h6);
}
#simple-calc__input1:hover, #simple-calc__input2:hover, #simple-calc__input3:hover {
  background-color: var(--color-surface-0);
  border-color: var(--color-primary--hover);
}
#simple-calc__input1:focus, #simple-calc__input2:focus, #simple-calc__input3:focus {
  background-color: var(--color-surface-0);
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}
#simple-calc__input1:focus-visible, #simple-calc__input2:focus-visible, #simple-calc__input3:focus-visible {
  outline-style: none;
}
#simple-calc__input1:not(:disabled), #simple-calc__input2:not(:disabled), #simple-calc__input3:not(:disabled) {
  transition: color 100ms,border-color 100ms,box-shadow 100ms;
}
.simple-calc__group {
  margin-bottom: 1rem;
}

#calculate-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  border-style: none;
  line-height: 1.42857143em;
  padding: 5px 10px 5px 10px;
  border-radius: var(--border-radius--small);
  font-weight: var(--font-weight-medium);  
  font-size: var(--font-size-h6);
  cursor: pointer;
}
#calculate-btn:hover {
  background-color: var(--color-primary--hover);
  border-color: var(--color-primary--hover);
}
#calculate-btn:active {
  background-color: var(--color-primary--active);
}
#simple-calc__answer {
  /*border-bottom: 2px dotted var(--color-base--subtle);*/
  width: 5.6rem;
  display: inline-block;
  text-align: center;
  margin-left: 3rem;
  background-color: var(--color-surface-2);
  border-radius: var(--border-radius--small);
}
.simple-calc__group2 {
  width: fit-content;
  background-color: var(--color-surface-2);
  border-radius: var(--border-radius--small);
  border: 2px solid var(--border-color-input);
}

/* Center it */
#simple-calc__container{
  width: 70%;
  padding: 15px;
  background: var(--color-surface-1);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
}
.simple-calc__center {
  justify-content:center;
  display: flex;
}
#simple-calc__input1, #simple-calc__input2, #simple-calc__input3 {
  width: 100%;
}
.simple-cald__cardtitle {
  color: var(--color-base--subtle);
  font-size: 0.8125rem;
  letter-spacing: 0.75px;
  margin-bottom: 1rem;
}