forked from DGNum/gestioCOF
Modèles plus cleans et templates principaux
This commit is contained in:
parent
66fc364739
commit
f5778fed2a
17 changed files with 522 additions and 94 deletions
4
gestioncof/cms/static/cofcms/sass/_colors.scss
Normal file
4
gestioncof/cms/static/cofcms/sass/_colors.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
$fond: #ff7869;
|
||||
$bandeau: #02c082;
|
||||
$aside: #ffe896;
|
||||
$titre: #e23427;
|
58
gestioncof/cms/static/cofcms/sass/screen.scss
Normal file
58
gestioncof/cms/static/cofcms/sass/screen.scss
Normal file
|
@ -0,0 +1,58 @@
|
|||
/* Welcome to Compass.
|
||||
* In this file you should write your main styles. (or centralize your imports)
|
||||
* Import this file using the following HTML or equivalent:
|
||||
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Carter+One|Source+Sans+Pro:300,300i,700');
|
||||
|
||||
@import "compass/reset";
|
||||
|
||||
@import "_colors";
|
||||
|
||||
body {
|
||||
background: $fond;
|
||||
font: 17px "Source Sans Pro", "sans-serif";
|
||||
}
|
||||
|
||||
header {
|
||||
background: $bandeau;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
font-family: "Carter One";
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.3em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
header {
|
||||
nav {
|
||||
ul {
|
||||
display: flex;
|
||||
li {
|
||||
display: inline-block;
|
||||
> * {
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
background: darken($bandeau, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
section {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue