User:Ritsu/style.css

From Elwiki
Revision as of 15:35, 28 February 2022 by Ritsu (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.
::selection {
    color: white;
    background-color: black;
}

.header {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: center;
}

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

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

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

.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;
}

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

.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: 0 15px;
    width: 700px;
    border-radius: 10px;
    border: 5px solid black;
    margin: auto;
    font-size: 13pt;
    margin-top: 30px;
}

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