// landscape @media screen and (orientation:landscape) { .clear { display: block; float: left; width: 100%; } .clear-end { display: block; float: left; width: 100%; height: 250px; } .generic-page { .fill-title { display:block; position:fixed; left: 0px; top: 50px; width: 400px; float: left; padding: 1%; .cover-area { float: right; width: 100%; .cover { align: center; width: 60%; margin: 0 auto; img { width: 100%; } } } .description-area-cover { width: 100%; } .description-area-no-cover { width: 100%; } .description-area { float: left; .title { font-size: 45px; font-weight: bold; line-height: 60px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; text-shadow: 1px 1px 2px white, 0 0 1em white, 0 0 0.2em white; text-transform: uppercase; font-family: "Roboto","Helvetica","Arial",sans-serif; } .sub-title-main { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: center; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .sub-title { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .description { //background-color: orange; font-size: 24px; width: ~"calc(100% - 14px * 2)";//calc(100% - 40px * 2 - 14px * 2); text-align: left; vertical-align: middle; //margin: 0 40px 10px 40px; background: rgba(150, 150, 150, 0.9); //border-radius: 7px; padding: 14px; font-family: "Roboto","Helvetica","Arial",sans-serif; } } } .fill-content { display:block; //position:relative; margin: 0 0 0 430px; padding: 0px; float: left; .title { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .item { font-size: 20px; padding: 1px; height: 290px; width: 200px; margin: 5px; padding: 0; overflow: hidden; line-height: normal; border: none; font-family: "Roboto","Helvetica","Arial",sans-serif; font-weight: 500; will-change: box-shadow; outline: none; cursor: pointer; transition-duration: 0.4s; float:left; //display:inline; &:hover { box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.7); } .material-icons { vertical-align: middle; } .material-icons { position: absolute; top: 50%; left: 50%; transform: ~"translate(-12px,-12px)"; line-height: 24px; width: 24px; } } .item-list { font-size: 20px; padding: 1px; height: 110px; width: 80%; margin: 5px auto 5px auto; padding: 5px; overflow: hidden; line-height: normal; border: none; font-family: "Roboto","Helvetica","Arial",sans-serif; font-weight: 500; will-change: box-shadow; outline: none; cursor: pointer; background: rgba(256, 256, 256, 0.3); border-radius: 7px; .material-icons { vertical-align: middle; } .material-icons { position: absolute; top: 50%; left: 50%; transform: ~"translate(-12px,-12px)"; line-height: 24px; width: 24px; } } } .cover { width: 30%; //margin: 0 auto; img { width: 100%; } } } } @media all and (min-width: 3910px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 15)"; margin: auto; } } @media all and (min-width: 3700px) and (max-width: 3910px) and (orientation:landscape){ .colomn_mutiple { width: ~"calc(210px * 15)"; margin: auto; } } @media all and (min-width: 3390px) and (max-width: 3700px) and (orientation:landscape){ .colomn_mutiple { width: ~"calc(210px * 14)"; margin: auto; } } @media all and (min-width: 3180px) and (max-width: 3390px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 13)"; margin: auto; } } @media all and (min-width: 2970px) and (max-width: 3180px) and (orientation:landscape){ .colomn_mutiple { width: ~"calc(210px * 12)"; margin: auto; } } @media all and (min-width: 2760px) and (max-width: 2970px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 11)"; margin: auto; } } @media all and (min-width: 2550px) and (max-width: 2760px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 10)"; margin: auto; } } @media all and (min-width: 2340px) and (max-width: 2550px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 9)"; margin: auto; } } @media all and (min-width: 2130px) and (max-width: 2340px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 8)"; margin: auto; } } @media all and (min-width: 1920px) and (max-width: 2130px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 7)"; margin: auto; } } @media all and (min-width: 1710px) and (max-width: 1920px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 6)"; margin: auto; } } @media all and (min-width: 1500px) and (max-width: 1710px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 5)"; } } @media all and (min-width: 1290px) and (max-width: 1500px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 4)"; margin: auto; } } @media all and (min-width: 1080px) and (max-width: 1290px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 3)"; margin: auto; } } @media all and (max-width: 1080px) and (orientation:landscape) { .colomn_mutiple { width: ~"calc(210px * 2)"; margin: auto; } } // portrait @media screen and (orientation:portrait) { .clear { clear: both; text-align: center; } .clear-end { clear: both; text-align: center; height: 250px; } .generic-page { .fill-title { display:block; position:relative; //width: 100%; //height: 400px; padding: 1%; .cover-area { //position:relative; float: right; //right: 0px; width: 300px; //height: 100%; .cover { width: 100%; margin: auto; img { width: 100%; } } } .description-area-cover { width: ~"calc( 100% - 302px)"; } .description-area-no-cover { width: 100%; } .description-area { //position: sticky; float: left; //height: 100%; //margin: 0; //border: solid 1px; //border-color: rgba(255, 0, 0, 0.7); .title { //background-color: green; font-size: 45px; font-weight: bold; line-height: 60px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; text-shadow: 1px 1px 2px white, 0 0 1em white, 0 0 0.2em white; text-transform: uppercase; font-family: "Roboto","Helvetica","Arial",sans-serif; } .sub-title-main { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: center; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .sub-title { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .description { //background-color: orange; font-size: 24px; text-align: left; width: ~"calc(100% - 14px * 2)";//calc(100% - 40px * 2 - 14px * 2); vertical-align: middle; //margin: 0 40px 10px 40px; background: rgba(150, 150, 150, 0.9); //border-radius: 7px; padding: 14px; font-family: "Roboto","Helvetica","Arial",sans-serif; } } } .fill-content { .title { font-size: 33px; font-weight: bold; line-height: 40px; width:100%; align: left; text-align: left; vertical-align: middle; margin: 10px 0 10px 0; font-family: "Roboto","Helvetica","Arial",sans-serif; } .item { font-size: 20px; padding: 1px; height: 290px; width: 200px; margin: 5px; padding: 0; overflow: hidden; line-height: normal; border: none; font-family: "Roboto","Helvetica","Arial",sans-serif; font-weight: 500; will-change: box-shadow; outline: none; cursor: pointer; transition-duration: 0.4s; float:left; //display:inline; &:hover { box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.7); } .material-icons { vertical-align: middle; } .material-icons { position: absolute; top: 50%; left: 50%; transform: ~"translate(-12px,-12px)"; line-height: 24px; width: 24px; } } .item-list { font-size: 20px; padding: 1px; height: 110px; width: 95%; margin: 5px auto 5px auto; padding: 5px; overflow: hidden; line-height: normal; border: none; font-family: "Roboto","Helvetica","Arial",sans-serif; font-weight: 500; will-change: box-shadow; outline: none; cursor: pointer; background: rgba(256, 256, 256, 0.3); border-radius: 7px; .material-icons { vertical-align: middle; } .material-icons { position: absolute; top: 50%; left: 50%; transform: ~"translate(-12px,-12px)"; line-height: 24px; width: 24px; } } } .cover { width: 30%; //margin: 0 auto; img { width: 100%; } } } } @media all and (min-width: 3510px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 15)"; margin: auto; } } @media all and (min-width: 3300px) and (max-width: 3510px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 15)"; margin: auto; } } @media all and (min-width: 2990px) and (max-width: 3300px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 14)"; margin: auto; } } @media all and (min-width: 2780px) and (max-width: 2990px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 13)"; margin: auto; } } @media all and (min-width: 2570px) and (max-width: 2780px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 12)"; margin: auto; } } @media all and (min-width: 2360px) and (max-width: 2570px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 11)"; margin: auto; } } @media all and (min-width: 2150px) and (max-width: 2360px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 10)"; margin: auto; } } @media all and (min-width: 1940px) and (max-width: 2150px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 9)"; margin: auto; } } @media all and (min-width: 1730px) and (max-width: 1940px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 8)"; margin: auto; } } @media all and (min-width: 1520px) and (max-width: 1730px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 7)"; margin: auto; } } @media all and (min-width: 1310px) and (max-width: 1520px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 6)"; margin: auto; } } @media all and (min-width: 1100px) and (max-width: 1310px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 5)"; margin: auto; } } @media all and (min-width: 890px) and (max-width: 1100px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 4)"; margin: auto; } } @media all and (min-width: 680px) and (max-width: 890px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 3)"; margin: auto; } } @media all and (max-width: 680px) and (orientation:portrait) { .colomn_mutiple { width: ~"calc(210px * 2)"; margin: auto; } } .edit-page { .title { //background-color: green; font-size: 45px; font-weight: bold; line-height: 60px; width:100%; align: center; height: 50px; text-align: center; vertical-align: middle; margin: 10px 0 10px 0; text-shadow: 1px 1px 2px white, 0 0 1em white, 0 0 0.2em white; text-transform: uppercase; font-family: "Roboto","Helvetica","Arial",sans-serif; } .fill-all{ //width:100%; max-width:80%; height:100%; margin: 20px auto; padding: 20px; border:0; background-color: rgba(200, 200, 200, 0.5); box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.6); } .message-big { width: 90%; margin: 0 auto; font-size: 50px; text-align: center; } .request_raw2 { width: 90%; margin: 0 auto; height: 160px; .label { width: 15%; margin-right: 10px; text-align: right; float: left; display: block; } .input { width: 75%; float: left; display: block; textarea { width: 100%; font-size: 20px; resize: none; } } } .request_raw { width: 90%; margin: 0 auto; height: 45px; .label { width: 15%; margin-right: 10px; text-align: right; float: left; display: block; } .input { width: 75%; float: left; display: block; input { width: 100%; font-size: 20px; } select { width: 100%; font-size: 20px; } textarea { width: 100%; font-size: 20px; } } .input_add { width: 5%; float: right; display: block; } } .send_value { width: 300px; margin: 0 auto; padding: 10px; display: block; } .hide-element { display: none; } .cover { position:relative; width: 200px; height: 250px; //margin: 0 auto; overflow:hidden; float: left; display: block; .cover-image { position:absolute; width: 200px; height: 250px; img { max-width: 100%; max-height: 100%; height: auto; } }; .cover-no-image { position:absolute; width: 190px; height: 240px; margin: 0 auto; border: solid 5px; border-color: rgba(0, 0, 0, 0.7); }; .cover-button { position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }; button { border: none; background: none; }; .button-remove { font-size:75px; color: #F00000; } .button-add { font-size:75px; color: #00F000; } } }