MediaWiki:Common.css

From Office of Queer Affairs
Revision as of 08:31, 9 October 2024 by Noam (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/*

All the styles will eventually move here:
=> https://ooqa.karls.computer/MediaWiki:Common.css 

All javascript can be edited here directly:
=> https://ooqa.karls.computer/MediaWiki:Common.js

*/

@font-face {
    font-family: 'Literata';
    src: url('https://ooqa.karls.computer/w/images/0/0f/Literata.ttf');
}

@font-face {
    font-family: 'Homoneta';
    src: url('https://ooqa.karls.computer/w/images/0/0e/Homoneta.woff');
}

:root {
    /* --background-color-base: yellowgreen; */
    --highlight: hsl(314, 90%, 43%);
}

h1,h2,.vector-pinnable-header,.vector-pinnable-element .vector-menu-heading,.vector-page-toolbar-container{
    border: 0;
    box-shadow: none;
}

.vector-page-titlebar::after,
.mw-portlet-Actions .vector-menu-heading,
.vector-main-menu-action-opt-out {
  display: none;
}

.mw-footer {
    border: none;
}

html,
body,
.mw-header,
.mw-page-container,
.vector-pinned-container,
.vector-dropdown-content {
    transition: background-color 2s linear;
}
ul li, 
figure, 
.vector-pinned-container, 
.vector-dropdown-content, 
.mw-logo > *, 
.vector-typeahead-search-container, 
#news {
	transition: background-color 2s linear, rotate 2s linear;
}

body {
    background-color: var(--background-color-base);
    font-family: Literata;
}

a{
    color: #00a95c;
}
#bodyContent a{
    text-decoration-line: underline;
}
#bodyContent a.new{
    text-decoration-style: wavy; 
}

#bodyContent a.external{
/*    color: #00a95c; */
}

.mw-body h1,
.mw-body h2 {
    font-family: 'Homoneta';
}

.mw-logo-wordmark {
    font-size: 1.3rem;
    font-family: 'Homoneta';
}

.mw-headline{
   /* font-size: 16px;*/
}

.mw-logo-container {
}

.mw-editsection{
    font-family: Literata;
}

img{
      border-radius: 32px;
}

.vector-pinned-container,
.vector-dropdown-content, #news{
      border-radius: 32px;
      padding: 16px;
}

.vector-dropdown .vector-dropdown-content {
    box-shadow: 0 2px 7px 0px var(--highlight);
}

.vector-column-start .vector-sticky-pinned-container{
    margin-left: 0;
}

figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File/Frame"], figure[typeof~="mw:File/Thumb"] > figcaption, figure[typeof~="mw:File/Frame"] > figcaption, figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element, figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element{
    background-color: transparent;
    border: 0;
}

/*popup*/
.popup {
  position: absolute;
  background-color: #f5f5f5;
  max-width: 240px;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  font-size: 12px;
  z-index: 1000;
  display: none; /* Hidden by default */
  transition: opacity 0.3s ease;
}

#news {
    background-color: #ff665e;
    float: right;
    max-width: max(25%, 300px);
    padding: 16px;
    margin: 16px;
}

.mw-parser-output ul li {
    rotate: unset !important;
)

@media only screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }
}