forked from rebillar/site-accueil-insa
Various style improvements
This commit is contained in:
parent
2cd33ed26a
commit
8a3bd58be1
5 changed files with 100 additions and 53 deletions
|
@ -29,7 +29,10 @@ table {
|
||||||
Theme Styles
|
Theme Styles
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
@font-face { font-family: Harry-P; src: url('../fonts/HARRYP__.TTF'); }
|
@font-face {
|
||||||
|
font-family: Harry-P;
|
||||||
|
src: url('../fonts/HARRYP__.TTF');
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -155,9 +158,9 @@ td {
|
||||||
}
|
}
|
||||||
|
|
||||||
.copyright {
|
.copyright {
|
||||||
color: #ccc;
|
color: #fff;
|
||||||
font-size: 14px;
|
font-size: 0.9rem;
|
||||||
text-shadow: #000 0 0 1px;
|
text-shadow: #000 0 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video {
|
.video {
|
||||||
|
@ -318,10 +321,12 @@ Full-Width Styles
|
||||||
height: 200px;
|
height: 200px;
|
||||||
background: linear-gradient(to top, #1c1c1c, transparent 90%);
|
background: linear-gradient(to top, #1c1c1c, transparent 90%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-fading-bottom-edge {
|
#main-fading-bottom-edge {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
|
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-content-wrap {
|
#main-content-wrap {
|
||||||
background: #1c1c1c;
|
background: #1c1c1c;
|
||||||
}
|
}
|
||||||
|
@ -424,6 +429,10 @@ Full-Width Styles
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#home-subtitle {
|
||||||
|
text-shadow: 0 0 10px #000;
|
||||||
|
}
|
||||||
|
|
||||||
.main-link {
|
.main-link {
|
||||||
width: 85px;
|
width: 85px;
|
||||||
height: 85px;
|
height: 85px;
|
||||||
|
@ -432,6 +441,7 @@ Full-Width Styles
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #e0e0e0;
|
color: #e0e0e0;
|
||||||
|
text-shadow: 0 0 10px #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-link:hover {
|
.main-link:hover {
|
||||||
|
@ -446,6 +456,7 @@ Full-Width Styles
|
||||||
font-size: 70px;
|
font-size: 70px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
text-shadow: 0 0 10px #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-logo svg {
|
.main-logo svg {
|
||||||
|
@ -474,14 +485,20 @@ Full-Width Styles
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.team-button{
|
#teamButtonContainer {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
border-radius: 10px 10px 0 0;
|
.team-button {
|
||||||
|
border-radius: 10px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonGli {
|
.team-button#buttonGli {
|
||||||
color: #ff000f;
|
color: #9c000a;
|
||||||
background-color: rgb(255, 135, 142);
|
background-color: rgb(255, 135, 142);
|
||||||
border-color: #1a5dad;
|
border-color: #1a5dad;
|
||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
|
@ -490,14 +507,16 @@ border-color: #1a5dad;
|
||||||
-o-transition: 0.3s;
|
-o-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonGli:hover {
|
.team-button#buttonGli:hover {
|
||||||
color: #b30006;
|
color: #b30006;
|
||||||
background-color: #ff7d7f;
|
background-color: #ff7d7f;
|
||||||
border-color: #1f6fce;
|
border-color: #1f6fce;
|
||||||
box-shadow: 0 0 10px #ff506d;
|
box-shadow: 0 0 10px #ff506d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonBoo {
|
.team-button#buttonBoo {
|
||||||
color: #c29d00;
|
color: #917100;
|
||||||
background-color: #fafd78;
|
background-color: #fafd78;
|
||||||
border-color: #1a5dad;
|
border-color: #1a5dad;
|
||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
|
@ -506,12 +525,14 @@ transition: 0.3s;
|
||||||
-o-transition: 0.3s;
|
-o-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonBoo:hover {
|
.team-button#buttonBoo:hover {
|
||||||
color: #a28100;
|
color: #a28100;
|
||||||
background-color: #f7fd51;
|
background-color: #f7fd51;
|
||||||
border-color: #fdf71e;
|
border-color: #fdf71e;
|
||||||
box-shadow: 0 0 10px #fdf71e;
|
box-shadow: 0 0 10px #fdf71e;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonPek {
|
.team-button#buttonPek {
|
||||||
color: #0d7b00;
|
color: #0d7b00;
|
||||||
background-color: #7ffd78;
|
background-color: #7ffd78;
|
||||||
|
@ -522,14 +543,16 @@ transition: 0.3s;
|
||||||
-o-transition: 0.3s;
|
-o-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonPek:hover {
|
.team-button#buttonPek:hover {
|
||||||
color: #0c5700;
|
color: #0c5700;
|
||||||
background-color: #6bfd5f;
|
background-color: #6bfd5f;
|
||||||
border-color: #8afd6b;
|
border-color: #8afd6b;
|
||||||
box-shadow: 0 0 10px #7efd34;
|
box-shadow: 0 0 10px #7efd34;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonVer {
|
.team-button#buttonVer {
|
||||||
color: #1b3aff;
|
color: #1226a7;
|
||||||
background-color: #60bdff;
|
background-color: #60bdff;
|
||||||
border-color: #9be7ff;
|
border-color: #9be7ff;
|
||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
|
@ -538,6 +561,7 @@ transition: 0.3s;
|
||||||
-o-transition: 0.3s;
|
-o-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-button#buttonVer:hover {
|
.team-button#buttonVer:hover {
|
||||||
color: #0008a5;
|
color: #0008a5;
|
||||||
background-color: #48a7ff;
|
background-color: #48a7ff;
|
||||||
|
@ -582,52 +606,67 @@ Small Device Styles
|
||||||
body {
|
body {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video {
|
.video {
|
||||||
width: 240px;
|
width: 240px;
|
||||||
height: 135px;
|
height: 135px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title {
|
#title {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-wrapper {
|
#table-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-coms .spacer {
|
#table-coms .spacer {
|
||||||
width: 0;
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-coms td {
|
#table-coms td {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-link {
|
.main-link {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-logo {
|
.main-logo {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
@ -637,36 +676,46 @@ Small Device Styles
|
||||||
body {
|
body {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
min-width: 240px;
|
min-width: 240px;
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title {
|
#title {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
min-width: 240px;
|
min-width: 240px;
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-wrapper {
|
#table-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
ob_start(); // Start reading html
|
ob_start(); // Start reading html
|
||||||
?>
|
?>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h1>Les Téléchargements</h1>
|
<h1>Les Telechargements</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -50,7 +50,7 @@ require_once 'includes/score_functions.php';
|
||||||
$platformID = 'main-score';
|
$platformID = 'main-score';
|
||||||
include("includes/score_counter.php");
|
include("includes/score_counter.php");
|
||||||
?>
|
?>
|
||||||
<h4>Semaine d'Accueil INSA Toulouse 2019</h4>
|
<h4 id="home-subtitle">Semaine d'Accueil INSA Toulouse 2019</h4>
|
||||||
<div id="main-link-container">
|
<div id="main-link-container">
|
||||||
<?php
|
<?php
|
||||||
$is_image = false;
|
$is_image = false;
|
||||||
|
|
2
info.php
2
info.php
|
@ -32,7 +32,7 @@ ob_start(); // Start reading html
|
||||||
</li>
|
</li>
|
||||||
<br id="arnaud">
|
<br id="arnaud">
|
||||||
<li>
|
<li>
|
||||||
Sinon y'a Arnaud, le créateur du site, mais là il est au Canada donc il pourra pas trop te répondre (vergnet
|
Sinon y'a Arnaud, le créateur du site, mais là il est en Suède donc il pourra pas trop te répondre (vergnet
|
||||||
@etud.insa-toulouse.fr ou Arnaud Vergnet sur Facebook)
|
@etud.insa-toulouse.fr ou Arnaud Vergnet sur Facebook)
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -34,15 +34,13 @@ function get_stats($team)
|
||||||
<br><br>
|
<br><br>
|
||||||
<strong>Clique sur une équipe pour voir le détail de son score</strong>
|
<strong>Clique sur une équipe pour voir le détail de son score</strong>
|
||||||
</p>
|
</p>
|
||||||
<br>
|
<div id="teamButtonContainer">
|
||||||
<div class="team-button" id="buttonGli" onclick="showScores('gli')">Glissefondor</div>
|
<div class="team-button" id="buttonGli" onclick="showScores('gli')">Glissefondor</div>
|
||||||
<br>
|
|
||||||
<div class="team-button" id="buttonPek" onclick="showScores('pek')">Peksentard</div>
|
<div class="team-button" id="buttonPek" onclick="showScores('pek')">Peksentard</div>
|
||||||
<br>
|
|
||||||
<div class="team-button" id="buttonBoo" onclick="showScores('boo')">Boomsouffle</div>
|
<div class="team-button" id="buttonBoo" onclick="showScores('boo')">Boomsouffle</div>
|
||||||
<br>
|
|
||||||
<div class="team-button" id="buttonVer" onclick="showScores('ver')">Verredaigle</div>
|
<div class="team-button" id="buttonVer" onclick="showScores('ver')">Verredaigle</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/stats.css">
|
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/stats.css">
|
||||||
|
|
Loading…
Reference in a new issue