// kitoy @import "./color.scss"; @import "./fonts.scss"; $font-stack: 'Rosa Black Sans', sans-serif; html{ height: 100%; width: 80%; margin-left: 10%; } body { color: $color_lines; background-color: $back; } .icon{ margin-bottom:5px; } .icons img { width: 2vw; height: 2vw; margin-top: 10px; display:inline-block; align-items:center; } hr { color: $color_lines; } * {-moz-box-sizing: border-box; box-sizing: border-box;} a { color: $color_title; text-decoration: none; } .date { margin-bottom: 0; } .slug { //margin-left: 1rem; text-align: left; margin-bottom: 2rem; } .readmore { text-align: right; } .readmore a { color: $color_lines; text-decoration: underline; } .menugauche { position: fixed; max-width: 100px; } .menu img { max-width: 20px; max-height: 20px; } .copyleft { display:inline-block; transform: rotate(180deg); padding-bottom: -15px; } pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } // By Francesca Vago .toggle { background-color: $color_button; text-align: center; height: 100px; width: 100px; border-radius: 50%; position: fixed; margin: 140px; margin-left: 10%; top: 20%; bottom: 0px; left: 0px; right: 0px; } .toggle h2 { margin-top : 1.5em; color: $back; } .menu { background-color: $color_title; height: 100px; width: 100px; transform: scale(0); border-radius: 50%; border-style: double; border-color: $color_lines; position: fixed; margin-top: 140px; margin-left: 10%; top: 20%; bottom: 0px; left: 0px; right: 0px; z-index: -1; transition: 0.7s; } .menu a { display: inline-block; position: fixed; font-size: 15px; color: $back; } ul { list-style-type: none; margin: 0; padding: 0; } .menu p { margin-top: -4px; font-size: 5px; } //Accueil a:nth-child(1){ top: 3px; left: 37px; } //Musique a:nth-child(2){ top: 35px; left: 7px; } // Le blog a:nth-child(3){ top: 67px; left: 37px; } //contact a:nth-child(4){ 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; line-height: 1.5; letter-spacing: 0.1vw; } .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 { 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: 1vw; padding-bottom: 30px; color: $color_text; } .pagination a { border: 1px solid; border-color: $color_title; padding: 3px; font-size: 13px; } .center { margin: auto; width: 50%; padding: 10px; } .contact{ text-align:center; } footer { position: relative; bottom:0px; width: 100%; text-align:center; } @media only screen and (max-width: 980px) { .articles .description { font-size: 4vw; } .articles { margin-left: 0; position: relative; font-size: 3.5vw; } .toggle { display:none; } .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%; } a:nth-child(4){ top: 4vw; left: 40%; } a:nth-child(2){ top: 4vw; left: 60%; } a:nth-child(3){ top: 4vw; left: 80%; } footer { font-size: 3vw; } .icons img { width: 7vw; height: 7vw; margin: 20px; display:inline-block; align-items:center; } .articles img { display: block; margin-left: auto; margin-right: auto; width: 80%; } } @media only screen and (max-width: 980px){ 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; } }