MediaWiki:Common.css: Difference between revisions
|  Created page with "→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..." | No edit summary | ||
| Line 48: | Line 48: | ||
| .vector-dropdown-content { | .vector-dropdown-content { | ||
|      transition: background-color 2s linear; |      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; | |||
| } | } | ||
Revision as of 11:41, 1 October 2024
/* 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;
)