AlexKondov

drm less

Nov 24th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.86 KB | None | 0 0
  1. //alex.less
  2.  
  3.  
  4. // Variables and mixins //
  5.  
  6. @input-width: 420px;
  7. @input-grey: #E6E4E5;
  8. @submit-background: #2BB2B6;
  9.  
  10. // End variables and mixins //
  11.  
  12. div.banner_after_header {
  13.     margin-bottom: 30px;
  14.     h1 {
  15.         font-family: Serif;
  16.     }
  17. }
  18.  
  19. main > div.page-header {
  20.     display: none;
  21.  
  22. }
  23.  
  24. // Contact Form Styles //
  25. div#frm_form_8_container {
  26.  
  27.     margin-left: auto;
  28.     margin-right: auto;
  29.     margin-bottom: 40px;
  30.  
  31.     form#form_contact3 {
  32.         max-width: @input-width;
  33.         margin-left: auto;
  34.         margin-right: auto;
  35.  
  36.         h3 {
  37.             text-align: center;
  38.             margin-bottom: 40px;
  39.         }
  40.        
  41.         div.frm_form_fields > fieldset > div div input, textarea {
  42.             background-color: @input-grey;
  43.             border-radius: 0px;
  44.             border: none;
  45.             padding: 15px;
  46.             font-size: 1.3em;
  47.             width: @input-width;
  48.            
  49.         }
  50.  
  51.         div#frm_field_92_container, div#frm_field_91_container {
  52.             display: block;
  53.             float: none;
  54.         }
  55.  
  56.         div.frm_submit {
  57.             text-align: center;
  58.             input[type="submit"] {
  59.                 background-color: @submit-background;
  60.                 border-radius: 0px;
  61.                 border: none;
  62.                 width: 120px;
  63.                 color: white;
  64.                 font-size: 1.2em;
  65.                 font-weight: bold;
  66.                 padding-top: 8px;
  67.                 padding-bottom: 5px;
  68.             }
  69.         }
  70.  
  71.     }
  72.  
  73. }
  74.  
  75.  
  76.  
  77. // End Contact Form Styles //
  78.  
  79. main.main  {
  80.     div.row {
  81.         div.col-md-6 {
  82.             max-width: 550px;
  83.         }
  84.         div.col-md-3 > ul li.page_item > a {
  85.             font-family: Serif;
  86.         }
  87.     }
  88.  
  89.     .main_page {
  90.         div, div.different-col-4 {
  91.             padding: 30px;
  92.  
  93.             a {
  94.                 font-size: 25px;
  95.                 font-family: serif;
  96.  
  97.                 &:hover {
  98.                     text-decoration: none;
  99.                 }
  100.             }
  101.  
  102.         }
  103.  
  104.         div div > a {
  105.             color: white;
  106.         }
  107.  
  108.         div.different-col-4 div a, div:nth-child(4) div a {
  109.             color: black;
  110.         }
  111.     }
  112.  
  113.     a[title=Botox] {
  114.         color: black!important;
  115.     }
  116.    
  117. }
  118.  
  119.  
  120. div.surgery-quote {
  121.     background-color: #cda981;
  122.     min-height: 180px!important;
  123.     margin-bottom: 40px;
  124.     margin-top: 40px;
  125.     padding: 25px;
  126.     font-size: 1.5em;
  127.     font-family: Serif;
  128. }
  129.  
  130. // Start Responsive //
  131.  
  132. @media screen and(max-width: 1200px) {
  133.     div.consultation {
  134.         .container {
  135.             //margin: 0px!important;
  136.  
  137.             .row {
  138.                 margin: auto;
  139.             }
  140.         }
  141.         img {
  142.             display: block;
  143.             margin: auto;
  144.         }
  145.  
  146.         div.col-lg-5 {
  147.             width: 90%;
  148.         }
  149.     }
  150. }
  151.  
  152. @media screen and(max-width: 485px) {
  153.     div.consultation {
  154.         img {
  155.             max-width: 100%;
  156.         }
  157.  
  158.         * {
  159.             font-size: 1.15em;
  160.         }
  161.  
  162.         div.container div.row > div.col-lg-offset-1 {
  163.             margin-bottom: 40px!important;
  164.         }
  165.  
  166.         div.container div.row > div.col-lg-5 a {
  167.             display: block;
  168.         }
  169.     }
  170. }
  171.  
  172. @media screen and(max-width: 400px) {
  173.     div.consultation {
  174.         * {
  175.             font-size: 1.05em;
  176.         }
  177.     }
  178.  
  179.     .content-info {
  180.         .container {
  181.             color: #000;
  182.         }
  183.         ul#menu-footer-navigation li{
  184.            
  185.             &:before {
  186.                 display: none;
  187.             }
  188.  
  189.         }
  190.     }
  191. }
  192.  
  193. @media screen and(max-width:240px) {
  194.     .pre_header {
  195.         a[href=#book] {
  196.             display: block;
  197.         }
  198.     }
  199. }
  200. // End Responsive //
Advertisement
Add Comment
Please, Sign In to add comment