Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.64 KB | None | 0 0
  1. * {
  2.     font-family: "Open Sans", sans-serif !important;
  3.     margin: 0;
  4.     font-weight: 100 !important;
  5.  
  6. }
  7.  
  8. .exception {
  9.     color: red;
  10.     font-weight: bold;
  11. }
  12.  
  13. .sticky-footer {
  14.     position: absolute;
  15.     bottom: 0;
  16.     width: 100%;
  17. }
  18.  
  19. html, body {
  20.     max-width: 95%;
  21.     min-width: 95%;
  22.     height: 100%;
  23.     min-height: 100%;
  24.     margin: 0 !important;
  25.     background-color: rgb(0, 0, 0);
  26.  
  27. }
  28.  
  29. body {
  30.     min-width: 100vw;
  31.     width: 1920px;
  32.     max-width: 100%;
  33.     color: black;
  34.     margin: 0 !important;
  35.     height: 100%;
  36.     background-image: url('http://cdn.pattersoncode.ca/images/background_lowres.jpg');
  37.     background-position: center;
  38.     background-size: cover;
  39.  
  40.  
  41. }
  42.  
  43. @media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {
  44. body {
  45.     background-image: url('http://cdn.pattersoncode.ca/images/background.jpg') !important;
  46. }
  47. }
  48.  
  49.  
  50. /*   SMART PHONE EXCLUSIVE   */
  51. @media all and (max-width: 1280px) {
  52.     * :not(#footer) {
  53.   /*      padding: 0 0 0 0; */
  54.     }
  55.  
  56.     .mom {
  57.         display: none !important;
  58.     }
  59.  
  60.     h2 {
  61.         /*padding-left: 1% !important;
  62.           padding-right: 1% !important;*/
  63.         text-align: center;
  64.     }
  65.  
  66.     html, body {
  67.         text-overflow: clip;
  68.     }
  69.  
  70.     .list {
  71.         overflow: scroll;
  72.     }
  73.  
  74.     body {
  75.         min-width: 100vw;
  76.         width: 100%;
  77.         max-width: 100%;
  78.         color: black;
  79.         margin: 0 !important;
  80.         background-color: black !important;
  81.         min-height: 90vh;
  82.     }
  83.  
  84.     #container {
  85.         max-height: 75vh;
  86.     }
  87.  
  88.     .navitem, .navitem a {
  89.         /*  display: none !important;*/
  90.         margin-top: 2.5%;
  91.         text-align: center !important;
  92.         background: none !important;
  93.     }
  94.  
  95.     .notmom {
  96.         vertical-align: middle !important;
  97.     }
  98.  
  99.     #navbar {
  100.         text-align: justify !important;
  101.         overflow: hidden;
  102.  /*       display: none !important;*/
  103.  
  104.     }
  105.  
  106.  
  107.     #content {
  108.         margin: 0 0 0 0 !important;
  109.         min-width: 100vw !important;
  110.       /*  min-height: 95vh !important; */
  111.         height: 100%;
  112.         overflow-wrap: normal !important;
  113.         max-height: 100vh !important;
  114.         position: relative;
  115.     }
  116.  
  117.     .therest {
  118.         max-height: 100vh;
  119.         overflow-wrap: normal !important;
  120.     }
  121.  
  122.     .title {
  123.         min-width: 100%;
  124.         background-size: 100%;
  125.         padding-top: 5vh;
  126.     }
  127.  
  128.     p {
  129.         overflow-wrap: normal !important;
  130.  
  131.     }
  132.  
  133.     .push, #push {
  134.         display: none !important;
  135.     }
  136.  
  137.     #footer {
  138.         background-color: rgba(255, 255, 255, 0.55) !important;
  139.     }
  140.  
  141.     #header {
  142.         text-align: center;
  143.         padding-bottom: 3%;
  144.     }
  145.  
  146. }
  147.  
  148. @media only screen and (max-width: 1142px){
  149.     .middlealign {
  150.         text-overflow: clip;
  151.         font-variant: small-caps;
  152.         font-stretch: semi-condensed;
  153.         font-size: 11pt;
  154.         text-align: center;
  155.         padding-top: 0 !important;
  156.     }
  157.  
  158.     footer, #footer {
  159.         /*display: none;
  160.         padding-top: 1%; */
  161.         padding-bottom: 1%;
  162.         vertical-align: middle;
  163.     }
  164. }
  165.  
  166. @media only screen and (max-width: 1280px) {
  167.     #content {
  168.         position: absolute;
  169.         top: 20vh;
  170.     }
  171.     .navitem, .navitem a {
  172.     }
  173.  
  174.     h2 {
  175.         font-size: medium;
  176.     }
  177.  
  178.     #header {
  179.         background-color: rgba(0, 0, 0, 0.85);
  180.         height: 3vh;
  181.     }
  182.  
  183. }
  184.  
  185. /* DESKTOP ONLY */
  186.  
  187. @media only screen and (min-device-width: 1024px) {
  188.  
  189.     #header {
  190.         position: fixed;
  191.         /*margin-top: -10% !important;*/
  192.     }
  193.  
  194.     .navitem {
  195.         display: inline-block;
  196.         padding-left: 1vw;
  197.         padding-right: 1vw;
  198.         padding-top: 1%;
  199.     }
  200.  
  201.     .navitem a {
  202.         padding-left: 1.5vw;
  203.         padding-top: 1% !important;
  204.     }
  205.  
  206.     #content {
  207.       /*  margin-top: 10% !important; */
  208.     }
  209.  
  210.     .middlealign {
  211.         padding-top: 15px !important;
  212.     }
  213.  
  214.     #content, #content2 {
  215.         background-color: rgba(255, 255, 255, 0.55);
  216.     }
  217.  
  218.  
  219. }
  220.  
  221. @media only screen and (min-width: 1024px){
  222.     .therest {
  223.      /*   min-height: 80vh !important; */
  224.     }
  225. }
  226.  
  227. /*  NO LONGER SMART PHONE EXCLUSIVE */
  228.  
  229. .whitelink {
  230.     color: rgb(28, 198, 255) !important;
  231. }
  232.  
  233. #logo {
  234.     float: left;
  235.     color: white;
  236.     padding-left: 2%;
  237. }
  238.  
  239. #header {
  240.     min-width: 100%;
  241.     width: 100vw;
  242.     max-width: 100%;
  243. }
  244.  
  245. #header h2 {
  246.     margin-top: 1.5%;
  247. }
  248.  
  249. a:hover {
  250.     text-decoration: none;
  251.     z-index: -1;
  252. }
  253.  
  254. #navbar {
  255.     min-width: 100%;
  256.     width: 100vw;
  257.     max-width: 100%;
  258.     background-color: rgba(0, 0, 0, 0.55);
  259.     text-align: right;
  260.     padding-bottom:2vh;
  261. }
  262.  
  263. .navitem {
  264.  
  265.     /* background-color: rgba(0, 0, 0, 0.67); */
  266. }
  267.  
  268. h1 {
  269.     font-size: 18pt;
  270. }
  271.  
  272. .navitem, .navitem a {
  273.     color: white !important;
  274.     height: 70% !important;
  275.     text-align: right;
  276.     max-width: 125px;
  277.     width: auto;
  278. }
  279.  
  280. .errcontent {
  281.     padding-bottom: -5% !important;
  282. }
  283.  
  284. .navitem:hover, .navitem a:hover {
  285.     background-color: rgba(0, 0, 0, 0.70);
  286.     color: rgb(28, 198, 255) !important;
  287.  
  288. }
  289.  
  290. .navitem a {
  291.     padding-top: 10px;
  292.     padding-bottom: -25px !important;
  293.     max-height: 40px !important;
  294.     height: auto;
  295. }
  296.  
  297. #content {
  298.     max-width: 75%;
  299.     height: 95%;
  300.     min-height: 100%;
  301.     max-height: 100%;
  302.     padding-bottom: 1%;
  303.     margin: 0 15% -50px;
  304.  
  305. }
  306.  
  307. #content:not(.list p){
  308.     text-align: center;
  309. }
  310.  
  311. #content2 {
  312.     text-align: center;
  313.     max-width: 75%;
  314.     max-height: 100%;
  315.     padding-bottom: 1%;
  316.     margin: 0% 15% -50px;
  317. }
  318.  
  319. p {
  320.     color: black;
  321.     font-size: 13pt;
  322. }
  323.  
  324. a:visited, a, a:hover, a:active {
  325.     color: black;
  326. }
  327.  
  328. a, a:visited {
  329.     text-decoration: none;
  330. }
  331.  
  332. a:hover {
  333.     text-decoration: none;
  334. }
  335.  
  336. #footer, footer {
  337.     min-width: 100%;
  338.     width: 100vw;
  339.     max-width: 100%;
  340.     background-color: rgba(0, 0, 0, 0.50) !important;
  341.     font-size: 9pt;
  342.     float: right;
  343.     text-align: right;
  344.     color: white !important;
  345.     height: 50px;
  346.     margin-top: 3%;
  347.     bottom: 0 !important;
  348.     position: fixed;
  349. }
  350.  
  351. #footer a, footer a {
  352.     color: white;
  353.     text-decoration: underline;
  354. }
  355.  
  356. .push {
  357.     padding: 3%;
  358. }
  359.  
  360. .title {
  361.     background-color: rgba(0, 0, 0, 0.55);
  362.     color: rgb(28, 198, 255);
  363.     margin-bottom: 2%;
  364.     height: auto;
  365.     text-align: center !important;
  366.     padding: 15px;
  367. }
  368.  
  369. .title h2 {
  370.     padding-top: 13px;
  371.     padding-bottom: 10px;
  372.     vertical-align: middle;
  373.     padding-top: 3.87%;
  374.     padding-right: 10px;
  375.     pedding-left: 30px !important;
  376. }
  377.  
  378. .therest {
  379.     margin-top: -2.10%;
  380.     background-color: rgba(0, 0, 0, 0.75);
  381.     color: white;
  382.     border-top: 1px solid black;
  383.     padding: 20px;
  384. }
  385.  
  386. .middlealign {
  387.     color: white;
  388.     padding-right: 20px;
  389. }
  390.  
  391. #logo h1 {
  392.   /*  padding-left: 25px; */
  393. }
  394.  
  395. label {
  396.     color: white;
  397.     padding-left: 20px;
  398.     padding-right: 10px;
  399.     min-width: 120px !important;
  400.     display: inline-block;
  401. }
  402.  
  403. .contactform {
  404.     text-align: left;
  405.     background-color: rgba(0, 0, 0, 0.75);
  406.     padding-top: 5%;
  407.     padding-bottom: 5%;
  408.     padding-left: 10%;
  409.     margin-top: -1.95%;
  410. }
  411.  
  412. #sendthatshit {
  413.     text-align: center;
  414. }
  415.  
  416. .errormsg, ul, li {
  417.     font-size: 11pt;
  418.     text-align: left !important;
  419.     padding-left: 25px;
  420. }
  421.  
  422. .orange > span {
  423.     background-color: #f1a165;
  424.     background-image: -moz-linear-gradient(top, #f1a165, #f36d0a);
  425.     background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f1a165), color-stop(1, #f36d0a));
  426.     background-image: -webkit-linear-gradient(#f1a165, #f36d0a);
  427. }
  428.  
  429. .red > span {
  430.     background-color: #f0a3a3;
  431.     background-image: -moz-linear-gradient(top, #f0a3a3, #f42323);
  432.     background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0a3a3), color-stop(1, #f42323));
  433.     background-image: -webkit-linear-gradient(#f0a3a3, #f42323);
  434. }
  435. input {
  436.     -webkit-appearance: none;
  437.     border: none;
  438. }
  439.  
  440. input:focus:valid, textarea:focus:valid {
  441.     -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 255, 0, 1);
  442.     box-shadow: 1px 1px 10px 1px rgba(0, 255, 0, 1);
  443. }
  444.  
  445. input:focus:invalid, textarea:focus:invalid {
  446.     -webkit-box-shadow: 1px 1px 10px 1px rgba(255, 0, 0, 1);
  447.     box-shadow: 1px 1px 10px 1px rgba(255, 0, 0, 1);
  448. }
  449.  
  450. input:indeterminate, textarea:indeterminate {
  451.     -webkit-box-shadow: 1px 1px 10px 1px rgba(255, 0, 0, 1);
  452.     box-shadow: 1px 1px 10px 1px rgba(255, 0, 0, 1);
  453. }
  454.  
  455. .btn-style {
  456.     padding: 10px;
  457. }
  458.  
  459. h3 {
  460.     color: white !important;
  461.     padding: 1.1%;
  462. }
  463.  
  464. .list, .list p {
  465.     text-align: left !important;
  466.     margin-top: 0;
  467. }
  468.  
  469. @media only screen and (max-width:1142px) {
  470.  
  471.     #mobnav {
  472.         width: 100%;
  473.         top: 60px;
  474.     }
  475.  
  476.  
  477.     #mobnav::before {
  478.         content: '\2630';
  479.         display: block;
  480.         position: absolute;
  481.         right: 3%;
  482.         top: -50px;
  483.         line-height: 40px;
  484.         cursor: pointer;
  485.     }
  486.  
  487.  
  488.     li {
  489.         float: none;
  490.     }
  491.  
  492.     #mobnav ul {
  493.         transition: 350ms;
  494.         -moz-transition: 350ms;
  495.         -webkit-transition: 350ms;
  496.         transform: perspective(600) rotate3d(0, 0, 0, 0);
  497.         -moz-transform: perspective(600) rotate3d(0, 0, 0, 0);
  498.         -webkit-transform: perspective(600) rotate3d(1, 0, 0, -90deg);
  499.         transform-origin: 50% 0;
  500.         -moz-transform-origin: 50% 0;
  501.         -webkit-transform-origin: 50% 0;
  502.     }
  503.  
  504.     #mobnav.open ul {
  505.         transform: translateY(0px);
  506.         -moz-transform: translateY(0px);
  507.         -webkit-transform: perspective(600) rotate3d(0, 0, 0, 0);
  508.     }
  509.  
  510. }
  511.  
  512. @media only screen and (max-width: 427px){
  513.     #header {
  514.        /* display: none !important;*/
  515.     }
  516. }
  517.  
  518. @media only screen and (max-width: 320px){
  519.     body {
  520.         background: none !important;
  521.     }
  522.     #container {
  523.         overflow-x: hidden;
  524.         overflow-y: hidden;
  525.  
  526.     }
  527.     footer,.sticky-footer,#footer {
  528.         display: none !important;
  529.     }
  530.     #content, #content2 {
  531.         background: none !important;
  532.         overflow-x: hidden;
  533.         overflow-y: hidden;
  534.     }
  535.     #navbar {
  536.         position: fixed;
  537.         top: 13vh;
  538.     }
  539.     #header, #logo {
  540.         position: relative;
  541.     }
  542.  
  543.     #content,#content2,.therest, #container {
  544.  
  545.         margin-bottom: 0% !important;
  546.         padding-bottom: 0% !important;
  547.     }
  548. }
  549.  
  550. @media only screen and (min-width: 375px) and (max-width: 414px){
  551.     .therest,#content,#content2,body,#container{
  552.         overflow-x: hidden !important;
  553.         overflow-y: hidden !important;
  554.  
  555.     }
  556.     #content {
  557.     }
  558.     #footer,.sticky-footer,footer {
  559.     display: none;
  560.     }
  561. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement