Webbserver - Love Blomberg

Show sourcecode

The following files exists in this folder. Click to view.

public_html/gamla-kurser/webbutv1/projekt/retro/css/

retro.css

retro.css

152 lines ASCII Windows (CRLF)
.left-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: darkred;
    width: 36vh;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0 0 0 0;
    padding: 0;
    position: fixed;
}

.main-box {
    position: fixed;
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    left: 37vh;
    top: 4vh;
    width: 100%;
    height: 100%;
}

.banner-box {
    width: 55%;
    z-index: 15;
}

.cyberdrive-box {
    display: flex;
    width: 100%;
}

.cyberdrive {
    width: 50%;
    height: 100%;
}

.cyberdrive-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
    width: 50%;
    height: 100%;
}

.banner {
    width: 100%;
    height: 100%;
}

.date {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
}

.emate {
    justify-self: right;
    height: 50%;
    border-left: 1px black solid;
    border-bottom: 2px black solid;
}

.mars {
    justify-self: right;
    height: 50%;
    border-left: 1px black solid;
}

.countries {
    overflow-y: scroll;
    background-color: white;
    margin-right: 10%;
    margin-left: 10%;
    height: 100px;
}

.countries a {
    color: black;
    line-height: 1.3em;
    text-shadow: none;
    font-weight: normal;
}

.whatshot {
    width: 65%;
}

table {
    border: 2px black solid;
    width: 50%;
}
td {
    border: 2px black solid;
    width: 50%;
}

button {
    border-top: 2.5px rgb(180, 180, 180) solid;
    border-left: 2.5px rgb(180, 180, 180) solid;
    border-right: 2.5px rgb(77, 0, 0) solid;
    border-bottom: 2.5px rgb(77, 0, 0) solid;
    background-color: darkred;
    font-size: 1.1em;
    font-family: Arial, Helvetica, sans-serif;
    font-style: arial;
    color: white;
    text-shadow: 2px 1px 0px black;
    width: 1/3vw;
    height: .8cm;
    align-self: center;
}

button:hover {
    cursor: pointer;
    background-color: rgb(77, 0, 0);
    border-top: 2px darkred solid;
    border-left: 2px darkred solid;
    border-right: 2px rgb(180, 180, 180) solid;
    border-bottom: 2px rgb(180, 180, 180) solid;
    color: white;
    text-shadow: 1px 1px 1px black;
}

a {
    color: white;
    text-shadow: 1px 1px 1px black;
    text-decoration: none;
    align-self: center;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-style: arial;
    line-height: 2.5em;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

hr {
    width: 90%;
    margin: 0 auto;
    border: 2px white solid;
    box-shadow: 2px 2px 2px black;
}