Browse Source

[producer] Image de couverture centrée

dev
Guillaume Bourgeois 5 years ago
parent
commit
52fc76726d
2 changed files with 37 additions and 26 deletions
  1. +31
    -26
      producer/web/css/screen.css
  2. +6
    -0
      producer/web/sass/_layout.scss

+ 31
- 26
producer/web/css/screen.css View File

#main #img-big { #main #img-big {
height: 130px; height: 130px;
overflow: hidden; overflow: hidden;
position: relative;
} }
/* line 338, ../sass/_layout.scss */
/* line 340, ../sass/_layout.scss */
#main #img-big img.img-photo { #main #img-big img.img-photo {
width: 100%; width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} }
/* line 344, ../sass/_layout.scss */
/* line 350, ../sass/_layout.scss */
#main #infos-producer { #main #infos-producer {
padding: 5px 10px; padding: 5px 10px;
margin-bottom: 0px; margin-bottom: 0px;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
color: gray; color: gray;
} }
/* line 353, ../sass/_layout.scss */
/* line 359, ../sass/_layout.scss */
#main #infos-producer strong { #main #infos-producer strong {
font-weight: bold; font-weight: bold;
} }
/* line 357, ../sass/_layout.scss */
/* line 363, ../sass/_layout.scss */
#main #infos-producer .favorite { #main #infos-producer .favorite {
float: right; float: right;
color: gray; color: gray;
} }
/* line 360, ../sass/_layout.scss */
/* line 366, ../sass/_layout.scss */
#main #infos-producer .favorite a { #main #infos-producer .favorite a {
color: black; color: black;
} }
/* line 366, ../sass/_layout.scss */
/* line 372, ../sass/_layout.scss */
#main h2#page-title { #main h2#page-title {
padding-left: 15px; padding-left: 15px;
padding-right: 15px; padding-right: 15px;
top: -10px; top: -10px;
text-align: left; text-align: left;
} }
/* line 380, ../sass/_layout.scss */
/* line 386, ../sass/_layout.scss */
#main h2#page-title #buttons { #main h2#page-title #buttons {
margin-bottom: 15px; margin-bottom: 15px;
font-family: "Arial"; font-family: "Arial";
} }
/* line 387, ../sass/_layout.scss */
/* line 393, ../sass/_layout.scss */
#main #content { #main #content {
padding: 0px 20px 20px 20px; padding: 0px 20px 20px 20px;
padding-bottom: 40px; padding-bottom: 40px;
min-height: 300px; min-height: 300px;
} }
/* line 392, ../sass/_layout.scss */
/* line 398, ../sass/_layout.scss */
#main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 { #main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 {
font-family: "highvoltageregular"; font-family: "highvoltageregular";
margin-top: 30px; margin-top: 30px;
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 397, ../sass/_layout.scss */
/* line 403, ../sass/_layout.scss */
#main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first { #main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first {
margin-top: 0px; margin-top: 0px;
} }
/* line 402, ../sass/_layout.scss */
/* line 408, ../sass/_layout.scss */
#main #content h1 { #main #content h1 {
font-size: 30px; font-size: 30px;
} }
/* line 406, ../sass/_layout.scss */
/* line 412, ../sass/_layout.scss */
#main #content h2 { #main #content h2 {
font-size: 25px; font-size: 25px;
} }
/* line 411, ../sass/_layout.scss */
/* line 417, ../sass/_layout.scss */
#main #content h3 { #main #content h3 {
font-family: "highvoltageregular"; font-family: "highvoltageregular";
font-family: "capsuularegular"; font-family: "capsuularegular";
margin-bottom: 30px; margin-bottom: 30px;
margin-top: 45px; margin-top: 45px;
} }
/* line 420, ../sass/_layout.scss */
/* line 426, ../sass/_layout.scss */
#main #content h3 span { #main #content h3 span {
padding-top: 14px; padding-top: 14px;
color: #323232; color: #323232;
} }
/* line 426, ../sass/_layout.scss */
/* line 432, ../sass/_layout.scss */
#main #content h4 { #main #content h4 {
font-size: 20px; font-size: 20px;
} }
/* line 430, ../sass/_layout.scss */
/* line 436, ../sass/_layout.scss */
#main #content h5 { #main #content h5 {
font-size: 18px; font-size: 18px;
} }
/* line 434, ../sass/_layout.scss */
/* line 440, ../sass/_layout.scss */
#main #content h6 { #main #content h6 {
font-size: 16px; font-size: 16px;
} }
/* line 440, ../sass/_layout.scss */
/* line 446, ../sass/_layout.scss */
#main #content form .form-group .hint-block { #main #content form .form-group .hint-block {
color: gray; color: gray;
} }


/* line 448, ../sass/_layout.scss */
/* line 454, ../sass/_layout.scss */
#footer-producer { #footer-producer {
text-align: center; text-align: center;
position: absolute; position: absolute;
left: 0px; left: 0px;
width: 100%; width: 100%;
} }
/* line 455, ../sass/_layout.scss */
/* line 461, ../sass/_layout.scss */
#footer-producer a { #footer-producer a {
color: #FF7F00; color: #FF7F00;
} }
/* line 457, ../sass/_layout.scss */
/* line 463, ../sass/_layout.scss */
#footer-producer a:active { #footer-producer a:active {
text-decoration: underline; text-decoration: underline;
} }


/* line 463, ../sass/_layout.scss */
/* line 469, ../sass/_layout.scss */
#footer { #footer {
background-color: #FFF8DC; background-color: #FFF8DC;
height: 100px; height: 100px;
float: right; float: right;
text-align: center; text-align: center;
} }
/* line 469, ../sass/_layout.scss */
/* line 475, ../sass/_layout.scss */
#footer .content { #footer .content {
padding-top: 20px; padding-top: 20px;
color: black; color: black;
} }
/* line 473, ../sass/_layout.scss */
/* line 479, ../sass/_layout.scss */
#footer .content a { #footer .content a {
color: black; color: black;
font-family: "capsuularegular"; font-family: "capsuularegular";
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
/* line 480, ../sass/_layout.scss */
/* line 486, ../sass/_layout.scss */
#footer .content a:hover { #footer .content a:hover {
text-decoration: underline; text-decoration: underline;
} }
/* line 487, ../sass/_layout.scss */
/* line 493, ../sass/_layout.scss */
#footer #code-source img { #footer #code-source img {
height: 20px; height: 20px;
} }

+ 6
- 0
producer/web/sass/_layout.scss View File

#img-big { #img-big {
height: 130px ; height: 130px ;
overflow: hidden ; overflow: hidden ;
position: relative ;
img.img-photo { img.img-photo {
width: 100% ; width: 100% ;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} }
} }

Loading…
Cancel
Save