Ajout de couleurs css
This commit is contained in:
346
sass/base.scss
346
sass/base.scss
@@ -2,36 +2,39 @@
|
||||
|
||||
@import "./color.scss";
|
||||
@import "./fonts.scss";
|
||||
|
||||
|
||||
$font-stack: 'Rosa Black Sans', sans-serif;
|
||||
|
||||
|
||||
html{
|
||||
height: 100%;
|
||||
width: 80%;
|
||||
margin-left: 10%;
|
||||
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-weight: 700;
|
||||
color: $color_lines;
|
||||
background-color: $back;
|
||||
color: $color_lines;
|
||||
background-color: $back;
|
||||
}
|
||||
|
||||
.icon{
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
.icons{
|
||||
width:26px;
|
||||
height:26px;
|
||||
margin-top:10px;
|
||||
.icons img {
|
||||
width: 2vw;
|
||||
height: 2vw;
|
||||
margin-top: 10px;
|
||||
display:inline-block;
|
||||
align-items:center;
|
||||
background-color: $color_title;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: $color_lines;
|
||||
}
|
||||
|
||||
* {-moz-box-sizing: border-box; box-sizing: border-box;}
|
||||
|
||||
|
||||
@@ -44,7 +47,7 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.slug{
|
||||
.slug {
|
||||
//margin-left: 1rem;
|
||||
text-align: left;
|
||||
margin-bottom: 2rem;
|
||||
@@ -93,8 +96,8 @@
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
margin: 140px;
|
||||
margin-left: 110px;
|
||||
top: 100px;
|
||||
margin-left: 10%;
|
||||
top: 20%;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
@@ -102,20 +105,21 @@
|
||||
|
||||
.toggle h2 {
|
||||
margin-top : 1.5em;
|
||||
color: $back;
|
||||
}
|
||||
|
||||
.menu {
|
||||
background-color: $color_lines;
|
||||
background-color: $color_title;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
transform: scale(0);
|
||||
border-radius: 50%;
|
||||
border-style: double;
|
||||
border-color: $color_button;
|
||||
border-color: $color_lines;
|
||||
position: fixed;
|
||||
margin-top: 140px;
|
||||
margin-left: 110px;
|
||||
top: 100px;
|
||||
margin-left: 10%;
|
||||
top: 20%;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
@@ -123,6 +127,7 @@
|
||||
transition: 0.7s;
|
||||
}
|
||||
|
||||
|
||||
.menu a {
|
||||
display: inline-block;
|
||||
position: fixed;
|
||||
@@ -130,91 +135,107 @@
|
||||
color: $back;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.menu p{
|
||||
margin-top: -4px;
|
||||
font-size: 5px;
|
||||
.menu p {
|
||||
margin-top: -4px;
|
||||
font-size: 5px;
|
||||
}
|
||||
|
||||
//Accueil
|
||||
a:nth-child(1){
|
||||
top: 3px;
|
||||
left: 37px;
|
||||
top: 3px;
|
||||
left: 37px;
|
||||
}
|
||||
|
||||
//Musique
|
||||
a:nth-child(2){
|
||||
top: 35px;
|
||||
left: 7px;
|
||||
top: 35px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
// Le blog
|
||||
a:nth-child(3){
|
||||
top: 67px;
|
||||
left: 37px;
|
||||
top: 67px;
|
||||
left: 37px;
|
||||
}
|
||||
|
||||
//contact
|
||||
a:nth-child(4){
|
||||
top: 35px;
|
||||
left: 69px;
|
||||
top: 35px;
|
||||
left: 69px;
|
||||
}
|
||||
|
||||
|
||||
a:nth-child(6){
|
||||
top: 15px;
|
||||
left: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
.articles {
|
||||
margin-left: 21rem;
|
||||
margin-top: 5rem;
|
||||
margin-bottom: 3rem;
|
||||
padding:0.5em;
|
||||
border: 7px double;
|
||||
border-color: $color_lines;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
margin-left: 21rem;
|
||||
margin-top: 5rem;
|
||||
margin-bottom: 3rem;
|
||||
padding:0.5em;
|
||||
border: 7px double;
|
||||
border-color: $color_lines;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
line-height: 1.5;
|
||||
letter-spacing: 0.1vw;
|
||||
}
|
||||
|
||||
.articles h1 {
|
||||
color: $color_lines;
|
||||
text-align: center;
|
||||
.articles ul {
|
||||
list-style-type: disc;
|
||||
margin: 5vw;
|
||||
padding-top: 1vw;
|
||||
padding-bottom: 1vw;
|
||||
padding-left: 1.5vw;
|
||||
}
|
||||
|
||||
|
||||
.articles h2, h3, h4 {
|
||||
color: $color_title;
|
||||
}
|
||||
|
||||
.articles .titre {
|
||||
color: $color_title;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.articles img {
|
||||
height: 300px;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
margin-bottom: 2vw;
|
||||
|
||||
}
|
||||
|
||||
.articles .description {
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-size: 17px;
|
||||
padding-bottom: 30px;
|
||||
color: $color_lines;
|
||||
.articles .description {
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-size: 1vw;
|
||||
padding-bottom: 30px;
|
||||
color: $color_text;
|
||||
}
|
||||
|
||||
|
||||
.pagination a {
|
||||
border: 1px solid;
|
||||
border-color: $color_title;
|
||||
padding: 3px;
|
||||
font-size: 13px;
|
||||
border: 1px solid;
|
||||
border-color: $color_title;
|
||||
padding: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.center {
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
padding: 10px;
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.contact{
|
||||
@@ -222,94 +243,159 @@ ul {
|
||||
}
|
||||
|
||||
footer {
|
||||
position: relative;
|
||||
bottom:0px;
|
||||
width: 100%;
|
||||
text-align:center;
|
||||
position: relative;
|
||||
bottom:0px;
|
||||
width: 100%;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px)
|
||||
{
|
||||
.articles {
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.articles .description {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
.articles {
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
font-size: 3.5vw;
|
||||
|
||||
}
|
||||
|
||||
.toggle {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
display:none;
|
||||
}
|
||||
.menugauche {
|
||||
max-width: unset;
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
z-index: 5;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.menugauche {
|
||||
max-width: unset;
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
z-index: 5;
|
||||
width: 100%;
|
||||
}
|
||||
.menu {
|
||||
width: 100%;
|
||||
height: 13vw;
|
||||
border-radius: 0%;
|
||||
border: 5px double;
|
||||
border-color: $color_button;
|
||||
position: sticky;
|
||||
margin-top: 0rem;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.menu a
|
||||
{
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.menu img
|
||||
{
|
||||
transform: scale(4)
|
||||
}
|
||||
|
||||
.menu p
|
||||
{
|
||||
margin:0.3rem;
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
.menu img:hover{
|
||||
transform: scale(5);
|
||||
}
|
||||
|
||||
a:nth-child(1){
|
||||
top: 4vw;
|
||||
left: 20%;
|
||||
}
|
||||
|
||||
.menu {
|
||||
width: 100%;
|
||||
height: 13vw;
|
||||
border-radius: 0%;
|
||||
border: 5px double;
|
||||
border-color: $color_button;
|
||||
position: sticky;
|
||||
margin-top: 0rem;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
transform: none;
|
||||
}
|
||||
a:nth-child(4){
|
||||
top: 4vw;
|
||||
left: 40%;
|
||||
}
|
||||
|
||||
a:nth-child(2){
|
||||
top: 4vw;
|
||||
left: 60%;
|
||||
}
|
||||
|
||||
a:nth-child(3){
|
||||
top: 4vw;
|
||||
left: 80%;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
footer {
|
||||
font-size: 3vw;
|
||||
}
|
||||
|
||||
.icons img {
|
||||
width: 7vw;
|
||||
height: 7vw;
|
||||
margin: 20px;
|
||||
display:inline-block;
|
||||
align-items:center;
|
||||
}
|
||||
|
||||
.menu img {
|
||||
transform: scale(4)
|
||||
}
|
||||
.articles img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 80%;
|
||||
|
||||
.menu p {
|
||||
margin:0.3rem;
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
.menu img:hover{
|
||||
transform: scale(5);
|
||||
}
|
||||
|
||||
a:nth-child(1){
|
||||
top: 35px;
|
||||
left: 20%;
|
||||
}
|
||||
|
||||
a:nth-child(4){
|
||||
top: 35px;
|
||||
left: 40%;
|
||||
}
|
||||
|
||||
a:nth-child(2){
|
||||
top: 35px;
|
||||
left: 60%;
|
||||
}
|
||||
|
||||
a:nth-child(3){
|
||||
top: 35px;
|
||||
left: 80%;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media only screen and (max-width: 980px){
|
||||
.menu p{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.menu {
|
||||
align-self: center;
|
||||
// margin-right: 0rem;
|
||||
}
|
||||
html{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu p{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.menu {
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px)
|
||||
{
|
||||
|
||||
.menu {
|
||||
height: 15vw;
|
||||
}
|
||||
|
||||
.menu img {
|
||||
max-width: 10px;
|
||||
max-height: 10px;
|
||||
}
|
||||
|
||||
.title h1 {
|
||||
font-size: 5vw;
|
||||
}
|
||||
|
||||
|
||||
.icons img {
|
||||
width: 7vw;
|
||||
height: 7vw;
|
||||
margin: 20px;
|
||||
display:inline-block;
|
||||
align-items:center;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
/* Autonme */
|
||||
/*$color_lines: #88A850;
|
||||
$grey: #A3A599;
|
||||
$color_button: #FBCD4B;
|
||||
$back: #282623;*/
|
||||
$color_lines: #fff487;
|
||||
$color_text: #fff487;
|
||||
$color_title: #D39050;
|
||||
$color_button: #fff487;
|
||||
$back: #45050C;
|
||||
|
||||
/* Hiver */
|
||||
/*
|
||||
@@ -12,7 +13,10 @@ $color_button: #D70026;
|
||||
$back: #000B29;
|
||||
*/
|
||||
/* Printemps */
|
||||
$color_lines: #DFE166;
|
||||
$color_title: #9A9EAB;
|
||||
$color_button: #ED5752;
|
||||
$back: #282529;
|
||||
/*
|
||||
$color_lines: #DF8C76;
|
||||
$color_title: #DF8C76;
|
||||
$color_button: #152A25;
|
||||
$back: #152A25;
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user