@import "compass/css3"; @import "compass/css3"; body { background-color: rgb(33,31,35)!important; background-repeat: no-repeat; @include filter-gradient(#53455b, #201e22, horizontal); @include background-image(radial-gradient(circle at top, rgba(83,69,91,1) 0,rgba(32,30,34,1) 70%)); color: #fff; font-size: 100%; min-height: 100%; line-height: 1.5; } .container-pricetable { margin: 0 auto; width: 90%; max-width: 1200px; } .group:after { content: ""; display: table; clear: both; } .grid-1-5 { border: 2px solid #5d4e65; min-height: 400px; padding: 1.25em; position: relative; text-align: center; transition: all .2s ease-in-out; @media screen and (min-width: 700px) { & { float: left; width: 50%; } &:nth-child(odd) { clear: left; } } @media screen and (min-width: 800px) { & { width: 33.3333333%; } &:nth-child(3n+1) { clear: left; } &:nth-child(odd) { clear: none; } } @media screen and (min-width: 1120px) { & { width: 20%; } &:nth-child(odd), &:nth-child(3n+1) { clear: none; } } } .grid-1-5:hover { background-color: rgb(83,69,91); @include filter-gradient(#53455b, #201d22, vertical); @include background-image(linear-gradient(top, rgba(83,69,91,1) 0%,rgba(32,29,34,1) 100%)); border-top: 2px solid #ec7a37; border-bottom: 2px solid #ff4f69; box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 1); transform: scale(1.025); z-index: 2; &:before, &:after { content: ""; position: absolute; background-color: rgb(246,125,53); @include filter-gradient(#f67d35, #ff4f68, vertical); @include background-image(linear-gradient(top, rgba(246,125,53,1) 0%,rgba(255,79,104,1) 100%)); top: -2px; bottom: -2px; width: 2px; } &:before { left: -2px; } &:after { right: -2px; } & .button-pricetable { background-color: rgb(238,122,54); @include filter-gradient(#ee7a36, #eb495d, horizontal); @include background-image(linear-gradient(left, rgba(238,122,54,1) 0%,rgba(235,73,93,1) 100%)); } } .h3pricetable { font-size: 1.5em; letter-spacing: 0.0625em; margin: 0 0 0.3333333333333333em; } .p-pricetable { font-size: 0.875em; } .p-pricetable, .ulpricetable { margin:0 0 1.5em } .ulpricetable { color: #796583; font-size: 0.75em; list-style-type: none; padding: 0; li { margin: 0 0 0.8333333333333333em; } } .button-pricetable { background-color: #9c83aa; border-radius: 20px; color: #fff; font-size: 1em; font-weight: 700; padding: 0.75em 1.5em; position: absolute; left: 36%; text-decoration: none; width: 160px; /*pour élargir la case du bouton*/ } sup, .small { font-size: 0.6125em; } @media screen and (max-width:767px){ .button-pricetable{ width: 100px; font-size: 10px; font-weight: 200; margin-left: -20px; } .p-pricetable { font-size: 0.6em; } .ulpricetable { font-size: 0.5em; } .h3pricetable { font-size: 1em; } .grid-1-5 { min-height: 300px; } }