Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/projekt/incl/

addfilters.php
dbconnection.php
default.php
footer.php
header.php
playertable.php
protected.php
sort.php
stylesheet.css

stylesheet.css

81 lines ASCII Windows (CRLF)
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  nav.navmenu {
    font-family: arial;
    font-weight: bold;
    grid-template-columns: auto;
    padding: 12px 12px;
    background: rgb(37, 129, 79);
    border: 2px solid #858585;

  }

  nav.navmenu a {
    padding: 10px 12px;
    text-decoration: none;
    border: 2px solid transparent;
    color: #fff;
    display: inline-block;
  }

  nav.navmenu a:hover {
    background: rgba(150, 150, 150, 1.0);
    border: 2px solid #fff;
  }


  footer#bottom {
    display: block;
    font: normal 0.8em Arial, Helvetica, sans-serif;
    color: #4D4D4D;
    padding: 10px 10px 20px 10px;
    background: #aaa;
    margin-top: 30px;
  }

  #log {
    display: inline-block;
    position: absolute;
    right: 20px;
  }

  .logga {
    font-family: helvetica, sans-serif;
    display: block;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
  }

  table {
    border-collapse: collapse;
    width: 100%;
  }

  th,
  td {
    text-align: left;
    padding: 8px;
  }

  tr:nth-child(even) {
    background-color: #f2f2f2
  }

  div {
    display: inline-block;
    text-align: top;
  }

  th {
    background-color: #04AA6D;
    color: white;
  }

  th a {
    display: block;
  }