author | Thierry Florac <tflorac@ulthar.net> |
Tue, 17 Jul 2018 23:44:57 +0200 | |
changeset 96 | 0f528eb20334 |
parent 95 | 8cd70a1eb00c |
child 97 | 2b122c08bf37 |
--- a/src/pyams_default_theme/resources/css/pyams-default.css Tue Jul 17 23:44:42 2018 +0200 +++ b/src/pyams_default_theme/resources/css/pyams-default.css Tue Jul 17 23:44:57 2018 +0200 @@ -1,13 +1,14 @@ body { - max-width: 950px; margin: 0 auto; } body .header-simple .regularbanner { position: relative; } +body .header-simple .regularbanner picture.regularbanner__media, body .header-simple .regularbanner img.regularbanner__media { width: 100%; } +body .header-simple .regularbanner picture.logo, body .header-simple .regularbanner img.logo { position: absolute; top: 10px;
--- a/src/pyams_default_theme/resources/css/pyams-default.css.map Tue Jul 17 23:44:42 2018 +0200 +++ b/src/pyams_default_theme/resources/css/pyams-default.css.map Tue Jul 17 23:44:57 2018 +0200 @@ -1,1 +1,1 @@ -{"version":3,"sources":["../../../../../../../../../home/tflorac/Dropbox/src/PyAMS/pyams_default_theme/src/pyams_default_theme/resources/less/pyams-default.less"],"names":[],"mappings":"AAAA;EACC,gBAAA;EACA,cAAA;;AAFD,IAIC,eACC;EACC,kBAAA;;AAGC,IALH,eACC,eAGC,IACE;EACA,WAAA;;AAED,IARH,eACC,eAGC,IAIE;EACA,kBAAA;EACA,SAAA;EACA,UAAA;EACA,YAAY,SAAZ;;AAUH,wBAA2C;EAC1C,YAFF,MAEG;IACA,aAAA;;;AAGF,wBAA0C,uBAAwB;EACjE,YAPF,MAOG;IACA,aAAA;;;AAGF,wBAA0C,uBAAuB;EAChE,YAZF,MAYG;IACA,aAAA;;;AAGF,wBAA0C;EACzC,YAjBF,MAiBG;IACA,aAAA","file":"pyams-default.css"} \ No newline at end of file +{"version":3,"sources":["../less/pyams-default.less"],"names":[],"mappings":"AAAA;EACC,cAAA;;AADD,IAGC,eACC;EACC,kBAAA;;AAIC,IANH,eACC,eAGC,QAEE;AAAD,IANH,eACC,eAIC,IACE;EACA,WAAA;;AAED,IATH,eACC,eAGC,QAKE;AAAD,IATH,eACC,eAIC,IAIE;EACA,kBAAA;EACA,SAAA;EACA,UAAA;EACA,YAAY,SAAZ;;AAUH,wBAA2C;EAC1C,YAFF,MAEG;IACA,aAAA;;;AAGF,wBAA0C,uBAAwB;EACjE,YAPF,MAOG;IACA,aAAA;;;AAGF,wBAA0C,uBAAuB;EAChE,YAZF,MAYG;IACA,aAAA;;;AAGF,wBAA0C;EACzC,YAjBF,MAiBG;IACA,aAAA","file":"pyams-default.css"} \ No newline at end of file
--- a/src/pyams_default_theme/resources/css/pyams-default.min.css Tue Jul 17 23:44:42 2018 +0200 +++ b/src/pyams_default_theme/resources/css/pyams-default.min.css Tue Jul 17 23:44:57 2018 +0200 @@ -1,1 +1,1 @@ -body{max-width:950px;margin:0 auto}body .header-simple .regularbanner{position:relative}body .header-simple .regularbanner img.regularbanner__media{width:100%}body .header-simple .regularbanner img.logo{position:absolute;top:10px;left:10px;max-height:calc(80%)}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}} +body{margin:0 auto}body .header-simple .regularbanner{position:relative}body .header-simple .regularbanner img.regularbanner__media,body .header-simple .regularbanner picture.regularbanner__media{width:100%}body .header-simple .regularbanner img.logo,body .header-simple .regularbanner picture.logo{position:absolute;top:10px;left:10px;max-height:calc(80%)}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}}
--- a/src/pyams_default_theme/resources/less/pyams-default.less Tue Jul 17 23:44:42 2018 +0200 +++ b/src/pyams_default_theme/resources/less/pyams-default.less Tue Jul 17 23:44:57 2018 +0200 @@ -1,11 +1,11 @@ body { - max-width: 950px; margin: 0 auto; .header-simple { .regularbanner { position: relative; + picture, img { &.regularbanner__media { width: 100%;