User:Ritsu/style.css

Revision as of 11:17, 28 August 2022 by Ritsu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
::selection {
    color: white;
    background-color: black;
}

.custom-header {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: center;
    border: 0!important;
}

.custom-header > p {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 10px solid black;
}

.custom-header .mw-headline {
    color: black!important;
}

.dark-mode .custom-header .mw-headline {
    color: white!important;
}

.custom-header img {
    border-radius: 50%;
    user-select: none;
}

.custom-header h1 span {
    font-size: 35pt;
    font-family: 'Consolas'!important;
    letter-spacing: 1.5px!important;
}

.custom-header h1::after {
    content: unset!important;
}

.custom-grid p {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.custom-grid p a {
    font-size: 17pt;
    color: black!important;
    padding: 15px;
    background-image: none!important;
    text-align: center;
    transition: .3s;
    font-family: 'Consolas'!important;
    position: relative;
    border-radius: 7px;
    display: inline-flex;
    place-content: center;
    place-items: center;
}

.dark-mode .custom-grid p a {
    color: white!important;
    transition: .3s;
}

.custom-grid p a:hover {
    background: #ececec;
}

.dark-mode .custom-grid p a:hover {
    background: rgba(255,255,255,.2);
}

.custom-grid p a::after {
    content: "/";
    font-size: 14pt;
    position: absolute;
    right: -13px;
}

.custom-grid p a:last-of-type::after {
    display: none;
}

.custom-section {
    padding: 30px;
    width: 700px;
    border-radius: 10px;
    margin: auto;
    font-size: 13pt;
    margin-top: 30px;
    box-shadow: 0 5px 10px rgb(0,0,0,.5);
}

.custom-section p {
    margin: 0;
    font-family: 'Consolas'!important;
    font-weight: 500;
}

.custom-section .segment > .mw-collapsible-toggle a {
    font-size: 1rem;
    font-family: 'Consolas';
}

.mw-content-ltr .segment > .mw-collapsible-toggle {
    top: 3px;
}

@media screen and (max-width: 768px) {
    .custom-header {
        flex-direction: column;
    }
}