3f0d453ef8
- ajout des objets de sessions afin de permettre les alertes, les retours à la page précédente, les token contre le xss, le chargement asynchrone de css ou de javascript - ajout de la favico de sand - ajout de l'acces denied en fonction de la session et des accès de l'utilisateur - ajout de l'affichage des erreurs pdo dans les environnements de test et de dev - ajout de la constante d'environnement
140 lines
2.6 KiB
CSS
140 lines
2.6 KiB
CSS
/*
|
|
|
|
1. Add your custom Css styles below
|
|
2. Place the this code in your template:
|
|
|
|
<link href="asset/css/custom.css" rel="stylesheet">
|
|
|
|
*/
|
|
|
|
/** REBOOT **/
|
|
dl, ol, ul {
|
|
margin: 0;
|
|
}
|
|
/** BRAND **/
|
|
#logo {
|
|
float: left;
|
|
}
|
|
#logo > a {
|
|
color: white;
|
|
font-size: 2rem;
|
|
text-transform: capitalize;
|
|
text-decoration: none;
|
|
}
|
|
/** Footer **/
|
|
.footer-content{
|
|
padding-top: 25px;
|
|
background-color: whitesmoke;
|
|
}
|
|
.copyright-content{
|
|
background-color: lightgrey;
|
|
}
|
|
/** Donate Footer **/
|
|
.section-title {
|
|
text-align:center;
|
|
font-family:Panton,sans-serif;
|
|
font-size:5rem;
|
|
color:slategrey;
|
|
padding-top:1rem;
|
|
padding-bottom:1rem
|
|
}
|
|
.button:focus,.button:hover {
|
|
text-decoration: none;
|
|
color: #ff974a;
|
|
}
|
|
.button-secondary {
|
|
background: #f48d40;
|
|
}
|
|
.button{
|
|
background: antiquewhite;
|
|
color: whitesmoke;
|
|
}
|
|
.beer-button {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 250px;
|
|
border: 2px solid transparent;
|
|
margin: 0 auto;
|
|
padding: 23px 30px;
|
|
color: #fff;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 1.2;
|
|
text-decoration: none;
|
|
border-radius: 50px;
|
|
text-align: center;
|
|
-webkit-transition: color 150ms,background-color 150ms;
|
|
-o-transition: color 150ms,background-color 150ms;
|
|
transition: color 150ms,background-color 150ms;
|
|
}
|
|
.donate-footer {
|
|
text-align: center;
|
|
background: antiquewhite;
|
|
}
|
|
/** Content **/
|
|
#page-content {
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
/** Sub Menu sub bar, visible on mobile **/
|
|
#sub-bar{
|
|
height: 25px;
|
|
background-color: antiquewhite;
|
|
font-size: 0.7rem;
|
|
margin-bottom: 2rem;
|
|
padding-top: 5px;
|
|
}
|
|
/** Sub Menu top bar , invisible on mobile **/
|
|
.top-menu{
|
|
display: flex;
|
|
justify-content: end;
|
|
}
|
|
.top-menu > li {
|
|
font-size: 0.7rem;
|
|
list-style: none;
|
|
padding: 0.5rem;
|
|
}
|
|
.top-menu > li:hover{
|
|
background-color: slategrey;
|
|
}
|
|
/** Menu de navigation **/
|
|
nav > ul {
|
|
display:flex;
|
|
justify-content: start;
|
|
}
|
|
nav > ul > li {
|
|
list-style: none;
|
|
padding: 1rem;
|
|
}
|
|
nav > ul > li:hover{
|
|
background-color: slategrey;
|
|
}
|
|
nav > ul > li > a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
ul.top-menu > li > a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
li.actual > a {
|
|
color: darkslateblue !important;
|
|
}
|
|
/** Liens de la page actuelle **/
|
|
.actual{
|
|
background-color: white;
|
|
}
|
|
/** ACCESS DENIED **/
|
|
#access-denied{
|
|
display:block;
|
|
position: relative;
|
|
width: 70%;
|
|
height: 70%;
|
|
border: 1px dotted grey;
|
|
border-radius:15px;
|
|
text-align: center;
|
|
margin: 5% auto;
|
|
}
|
|
#access-denied > .container{
|
|
padding-top: 10%;
|
|
} |