Webbserverprogrammering

Show sourcecode

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

webbsrvprg/exercises/

cart.php
idk.html
incl1.php
index.css
intro.php
ovn_forms1.php
ovn_forms1b.php
ovn_forms2.php
ovn_forms2b.php
ovn_forms3.php
ovn_forms3b.php
ovn_forms4.php
ovn_forms4b.php
ovn_forms5.php
ovn_forms5b.php
ovn_funct1.php
ovn_funct2.php
ovn_funct3.php
ovn_funct4.php
ovn_funct5.php
ovn_funct6.php
ovn_funct7.php
ovn_gr1.php
ovn_gr2.php
ovn_gr3a.php
ovn_gr3b.php
ovn_gr4.php
ovn_gr5.php
ovn_incl1.php
ovn_incl2a.php
ovn_incl2b.php
ovn_incl2c.php
ovn_strings1.php
ovn_strings1b.php
ovn_strings2.php
ovn_strings2b.php
ovn_strings3.php
ovn_strings4.php
ovn_strings4b.php
ovn_strings5.php
ovn_strings5b.php
quiz.php
sidslut.php
sidstart.php
text.php

index.css

214 lines ASCII Windows (CRLF)
body {
    background-color: white;
}

nav {
    background-color: black;
    padding-top: 30px;
}

nav img {
    width: 50px;
    padding-top: 5px;
    grid-area: 1; 
}

.nav-item {
    color: white;
    margin-top: 10px;
    border-radius: 7px;
    padding-left: 3px;
    margin-left: 10px;
}
.hem {
    grid-area: 2;
}

.faq {
   grid-area: 3;
}

.bild > img {
    width: 30%;
    border-radius: 25px;
    border: 2px solid black;
    margin: 20px;
}

.review {
    width: 70%;
    border-radius: 25px;
    border: 2px solid black;
    margin: 20px; 
    padding: 30px;
}

.bild {
    display: flex;
    flex-direction: row-reverse;
}

h1 {
    color: black;
    text-align: center;
    font-family: "Cookie", cursive;
    font-weight: lighter;
    font-style: normal;
    font-size: 50px;
}

.arskurs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.arskurs a {
    padding: 10px 20px;
    text-decoration: none;
    border: 3px solid black;
    white-space: nowrap;
    color: black;
}

footer {
    background-color: black;
    display: flex;
    flex-wrap: wrap;
}

footer a {
    text-decoration: none;
    color: white;
}

footer p {
    padding: 20px;
    color: white;

}

.container_ovn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 15%;
}

.container_ovn a {
    border: 3px solid black;
    border-radius: 12px;
    text-decoration: none;
    color: black;
    text-align: center;
    width: 200px;
    padding: 5px;
    margin: 10px;
}

.carousel-inner > p, .carousel-item > p {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FF87AF;
}

.carousel-inner > h5, .carousel-item > h5 {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FF87AF;
}

#quizform > h5 {
    text-align: center;
    margin-top: 10px;
    
}
#quizform > h2 {
    text-align: center;
    margin-top: 20px;
    
}

#quizform {
    border: 2px solid black;
    border-radius: 20px;
    margin: 5px;
    
}

.fraga {
    border: 2px solid black;
    border-radius: 13px;
    margin: 20px;
    padding: 10px 5px;
}

.button {
    text-align: center;
}

#submit {
    background-color: lightpink;
    text-decoration-color: white;
}

#resultatBild img {
    align-self: center;
    
}

#resultatBild {
    width: 400px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.resultat-box {
    text-align: center;

}

#resultatText {
    margin: 20px;
}

.link, .intro {
    text-align: center;
    margin-bottom: 40px;
    color: lightpink;
    background-color: black;
    text-decoration: none;
    border-radius: 20px;
    padding: 20px;
    margin: 0 40px;
}

.fraga img {
    width: 100%;
}

.container_quiz {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 20px;
    flex-wrap: nowrap;
    align-content: center;
}

.container_quiz > a { 
    text-decoration: none;
    color: black;
    border: 2px solid lightpink;
    border-radius: 10px;
    padding: 5px 8px;
    background-color: #808080;
}

.quiz_rubrik {
    text-align: center;
    margin-bottom: 40px;
}