MediaWiki:Main Page.css

From DM Live - the Depeche Mode live encyclopedia for the masses
Jump to navigationJump to search

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.
*,
body {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

section {
    width: 100%;
    height: 100vh;
    background: white;
    color: black;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.wrapper {
    height: 100%;
    width: 50%;
    background: #171717;
    color: #9d68d9;
    position: absolute;
    top: 0;
    left: 0;
    border-right: 2px solid #262626;
    overflow: hidden;
    z-index: 1;
}

.right-side-text {
    text-align: center;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    width: 50%;
    top: 0;
    right: 0;
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.right-side-text p {
    padding: 0 50px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: Arial, Helvetica, sans-serif;
}

.menu {
    list-style-type: none;
    padding: 0;
    text-align: center;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
    position: absolute;
    font-family: arial;
}

.menu li {
    margin-bottom: 10px;
}

.menu li a:hover {
    color: #9d68d9;
}

.menu li a {
    color: white;
    font-size: 1.6em;
    text-decoration: none;
}

.social-menu ul {
    position: absolute;
    top: relative;
    left: 50%;
    /* padding: 0; */
    /* margin: 0; */
    -webkit-transform: translate(-50%, 20%);
    -ms-transform: translate(-50%, 20%);
    transform: translate(-50%, 20%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.social-menu ul li {
    list-style: none;
    margin: 0 3px;
}

.social-menu ul li .fa {
    font-size: 20px;
    line-height: 25px;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    color: #171717;
}

.social-menu ul li .fa:hover {
    color: #171717;
}

.social-menu ul li a {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
}

.social-menu ul li a:hover {
    -webkit-transform: translate(0, -3px);
    -ms-transform: translate(0, -3px);
    transform: translate(0, -3px);
}

.social-menu ul li:nth-child(2) a:hover {
    background-color: white;
}

.social-menu ul li:nth-child(3) a:hover {
    background-color: white;
}

.menu-content>.social-menu {
    display: none;
}

.sliding {
    position: absolute;
    top: 0%;
    white-space: nowrap;
    font-size: 12em;
    line-height: 220px;
    overflow: visible;
    font-family: "arial black";
    -webkit-animation: animate 37s linear infinite;
    animation: animate 37s linear infinite;
}

@-webkit-keyframes animate {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes animate {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@media screen and (max-width:1024px) {
    .wrapper {
        height: 50%;
        width: 100%;
        top: unset;
        bottom: 0;
    }

    .wrapper .sliding {
        display: none;
    }

    .right-side-text {
        position: unset;
        color: #fff;
        width: 95%;
        gap: 25px;
    }

    .social-menu ul li a {
        display: block;
        height: unset;
        border-radius: 0;
    }

    .right-side-text .social-menu ul {
        display: none;
    }

    .right-side-text .scoal-menu ul {
        display: none;
    }

    .right-side-text p {
        font-size: 16px;
        padding: 0;
    }

    .menu {
        position: unset;
        width: 100%;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }


    .menu li a:hover {
        color: #9d68d9;
    }

    .menu li a {
        font-size: 26px;
        color: #171717;
    }

    .social-menu ul li {
        margin: 0;
    }

    .menu-content>.social-menu {
        display: block;
    }

    .social-menu ul li .fa {
        font-size: 24px;
        line-height: 38px;
        -webkit-transition: 0.6s;
        -o-transition: 0.6s;
        transition: 0.6s;
        color: #171717;
    }

    .sliding {
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        font-size: 5em;
        line-height: 100px;
        font-family: "arial black";
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        z-index: 2;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-animation: unset;
        animation: unset;
    }

    .sliding span:nth-child(2) {
        color: #FFF;
    }

    .sliding span:last-child {
        display: none;
    }


    .main-section {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-height: 100vh;
    }

    .menu-content {
        width: 100%;
        height: 50vh;
        margin: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 75px;
    }

    .info-content {
        width: 100%;
        height: 50vh;
        margin: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 75px;
    }

    .social-menu ul {
        position: unset;
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
        list-style: none;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 15px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

}

@media screen and (max-width:590px) {
    .sliding {
        font-size: 3em;
        line-height: 60px;
    }

    .menu-content {
        padding-bottom: 50px;
    }

    .info-content {
        padding-top: 50px;
    }

    .right-side-text p {
        font-size: 14px;
        -moz-text-align-last: center;
        text-align-last: center;
    }
}

/* -------------------------------------------------------------------- */
/*  Hide top-nav, sidebar, siteNotice & footer only on Main Page   */
/* -------------------------------------------------------------------- */
body.page-Main_Page .navigation,   /* custom top navbar */
body.page-Main_Page #column-one,   /* the left sidebar */
body.page-Main_Page #siteNotice,   /* the purple pinkie bar */
body.page-Main_Page #footer        /* the footer bar */
{
  display: none !important;
}

/* expand content area to full width */
body.page-Main_Page #column-content {
  margin: 0 !important;
  width: 100% !important;
}

/* import Font Awesome for social icons */
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');