Refactorisation des thèmes
La disposition des elements de la page est maintenant commune à tous les thèmes. On pourra la spécialiser, mais le depart se fait sur une base agréable, en couleurs non spécifiées (les couleurs par défaut du navigateur), sauf pour les messages d'erreur qui sont définis en rouge, et ala responsive design. * style.css: * style.css: Ne contient plus que ce qui concerne les couleurs et images * font-awesome.css: Il parait plus sage de spécifier des Url absolues vers les polices de caractère. * style.css: Réccupère du thème sombre tout ce qui ne concerne pas la couleur, pour en faire profiter tous les thèmes. * Web.csproj: Ajoute le style du thème clair au projet. * style.tablesorter.css: ce fichier est obsolete et va disparaitre.
This commit is contained in:
parent
d430d73915
commit
ca98af1611
7 changed files with 243 additions and 454 deletions
|
|
@ -4,13 +4,88 @@ body {
|
|||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body.loading {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Start by setting display:none to make this hidden.
|
||||
Then we position it in relation to the viewport window
|
||||
with position:fixed. Width, height, top and left speak
|
||||
for themselves. Background we set to 80% white with
|
||||
our animation centered, and no-repeating */
|
||||
body.loading .modal {
|
||||
display: block;
|
||||
}
|
||||
.rate {
|
||||
border-radius:1em;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
header {
|
||||
transition: margin 2s, padding 2s;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-top: 2em;
|
||||
padding-bottom:2em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
header h1, header a {
|
||||
transition:padding 2s;
|
||||
margin:0; padding:1em;
|
||||
}
|
||||
|
||||
nav {
|
||||
transition: margin 2s, padding 2s;
|
||||
margin: 2em;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
main {
|
||||
transition: margin 2s, padding 2s;
|
||||
margin: 2em;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
}
|
||||
main video, main img {
|
||||
max-width:100%;
|
||||
max-height:75%;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
footer {
|
||||
transition: margin 2s, padding 2s;
|
||||
margin: 0;
|
||||
margin-top: 2em;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
clear: both;
|
||||
font-size: smaller;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
footer p { display:inline-block; }
|
||||
|
||||
footer img { max-height: 3em; vertical-align: middle; }
|
||||
|
||||
a img, h1 img, .menuitem img { vertical-align: middle; }
|
||||
|
||||
fieldset {
|
||||
border-radius:5px; border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
aside {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul.preview li:nth-child(-n+10) {
|
||||
display:inline;
|
||||
font-size:xx-small;
|
||||
}
|
||||
|
||||
ul.preview li:nth-child(n) {
|
||||
display:none;
|
||||
}
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
|
|
@ -38,20 +113,102 @@ body {
|
|||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body.loading {
|
||||
overflow: hidden;
|
||||
.postpreview {
|
||||
display: inline-block;
|
||||
max-width: 40em;
|
||||
padding: 1em;
|
||||
border-radius:1em;
|
||||
}
|
||||
.postpreview video, .postpreview img {
|
||||
max-width: 100%;
|
||||
padding: 1em;
|
||||
}
|
||||
.post {
|
||||
display:block;
|
||||
padding: 1em;
|
||||
border-radius:1em;
|
||||
}
|
||||
|
||||
.fullwidth { width: 100%; }
|
||||
textarea.fullwidth { min-height:10em; }
|
||||
|
||||
.thanks {
|
||||
max-width: 10%;
|
||||
text-align: center;
|
||||
font-size:smaller;
|
||||
display:inline;
|
||||
bottom:0;
|
||||
}
|
||||
.panel {
|
||||
display:inline-block;
|
||||
}
|
||||
.panel,.bshpanel, aside {
|
||||
border-radius: 1em;
|
||||
padding: 1em;
|
||||
}
|
||||
.spanel {
|
||||
max-width: 18em;
|
||||
display: inline-block;
|
||||
padding: .3em;
|
||||
}
|
||||
.xspanel {
|
||||
max-width:13em;
|
||||
display: inline-block;
|
||||
padding:.2em;
|
||||
}
|
||||
.xxspanel {
|
||||
max-width:7em;
|
||||
display: inline-block;
|
||||
padding:.1em;
|
||||
}
|
||||
|
||||
body.loading .modal {
|
||||
display: block;
|
||||
.hint {
|
||||
display: inline;
|
||||
font-style: italic;
|
||||
font-size: smaller;
|
||||
}
|
||||
.hint::before {
|
||||
content: "(";
|
||||
}
|
||||
.hint::after {
|
||||
content: ")";
|
||||
}
|
||||
|
||||
.usertitleref {
|
||||
border-radius: 1em;
|
||||
font-family: 'Arial', cursive;
|
||||
padding: 1em;
|
||||
}
|
||||
.editable {
|
||||
margin: .5em;
|
||||
min-height:1em;
|
||||
border-radius: 1em;
|
||||
border-style: dashed;
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.notification {
|
||||
font-size: large;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
padding: 1em;
|
||||
border-radius:1em;
|
||||
margin:1em;
|
||||
padding:1em;
|
||||
}
|
||||
.error, #error {
|
||||
font-size: large;
|
||||
}
|
||||
.hidden { display:none; }
|
||||
|
||||
|
||||
|
||||
.iconsmall { max-height: 1.3em; max-width: 1.3em; }
|
||||
|
||||
.photo { width: 100%; }
|
||||
.blogbanner { float: left; top:0; }
|
||||
.subtitle { font-size:small; font-style: italic; }
|
||||
|
||||
|
||||
nav li { display: inline-block; }
|
||||
|
||||
footer a {
|
||||
|
|
@ -59,24 +216,23 @@ footer a {
|
|||
padding:1em;
|
||||
}
|
||||
|
||||
legend {
|
||||
border-radius:5px;
|
||||
padding:.5em;
|
||||
}
|
||||
#copyr { text-align: center; display: block; background-color: rgba(20,20,20,.8); }
|
||||
footer p { display:inline-block; }
|
||||
|
||||
footer img { max-height: 3em; vertical-align: middle; }
|
||||
a img, h1 img, .menuitem img { vertical-align: middle; }
|
||||
|
||||
|
||||
legend {
|
||||
border-radius:5px;
|
||||
padding:.5em;
|
||||
}
|
||||
|
||||
#copyr { text-align: center; display: block; }
|
||||
|
||||
#gspacer {
|
||||
background-color: rgba(20,20,20,.8);
|
||||
border-radius:1em;
|
||||
margin:1em; padding:1em; display: inline-block }
|
||||
fieldset {
|
||||
background-color: rgba(16,16,64,0.8);
|
||||
border-radius:5px; border: solid 1px #000060;
|
||||
}
|
||||
margin:1em; padding:1em;
|
||||
display: inline-block }
|
||||
|
||||
.actionlink, .menuitem, a {
|
||||
display:inline-block;
|
||||
|
|
@ -92,7 +248,6 @@ input, select, textarea {
|
|||
border-radius:1em;
|
||||
border-style: solid;
|
||||
border-width:1px;
|
||||
|
||||
font-family: 'Arial', cursive;
|
||||
}
|
||||
|
||||
|
|
@ -124,19 +279,22 @@ input, select, textarea {
|
|||
background-color: rgba(0,0,40,.8);
|
||||
}
|
||||
.skillname {
|
||||
padding:.5em;
|
||||
margin:.25em;
|
||||
max-width: 24em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
background-color: rgba(16,16,64,0.8);
|
||||
padding:.5em;
|
||||
margin:.25em;
|
||||
max-width: 24em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
border-radius:1em;
|
||||
border: solid 1px #aaf;
|
||||
}
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.input-validation-error { border: solid 1px red; background-color: rgba(180,256,256,.5); }
|
||||
|
||||
.field-validation-error { color: red; background-color: rgba(180,256,256,.5); }
|
||||
|
||||
.c2 { font-size: small; font-style: italic; }
|
||||
|
||||
.c3 { font-size: x-small; font-style: italic; }
|
||||
|
||||
.rate {
|
||||
|
|
@ -154,10 +312,12 @@ ul.editablelist>li {
|
|||
border: solid grey 1px;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
ul.editablelist>li:before {
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f007";
|
||||
}
|
||||
}
|
||||
|
||||
ul.editablelist>li:hover {
|
||||
background-color: rgba(128,0,0,0.5);
|
||||
cursor:pointer;
|
||||
|
|
@ -166,7 +326,7 @@ ul.editablelist>li:hover {
|
|||
ul.editablelist>li:hover:before {
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f00d";
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {background-color:white;color:black;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue