Difference between revisions of "Template:NAIT Edmonton/CSS"

Line 1: Line 1:
<html>
 
<style type="text/css">
 
 
 
/* General */
 
/* General */
 
body{font-family:Arial, Helvetica, sans-serif;padding:0;font-size:12px;margin:0 auto;color:#0D4D8C;background-color:#FFFFFF;}
 
body{font-family:Arial, Helvetica, sans-serif;padding:0;font-size:12px;margin:0 auto;color:#0D4D8C;background-color:#FFFFFF;}
Line 405: Line 402:
 
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
 
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
 
}
 
}
 
</style>
 
</html>
 

Revision as of 16:53, 1 June 2015

/* General */ body{font-family:Arial, Helvetica, sans-serif;padding:0;font-size:12px;margin:0 auto;color:#0D4D8C;background-color:#FFFFFF;} .clear{clear:both;} p{padding:0;margin:0px;text-align:left;line-height:20px;}

a{color:#ADD3F0; text-decoration:none;} a img{border:none;} a:hover{text-decoration:none;} a.more{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;background-color:#0D4D8C; color:#FFFFFF; font-size:11px; padding:6px 6px; margin:auto; width:60px; display:block; text-align:center;} a.more2{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;background:none; color:#FFFFFF; font-size:11px; padding:6px 6px; margin:auto; width:60px; display:block; text-align:center;curser:pointer;}


h1{font-weight: normal;color: #0D4D8C;font-size:26px;margin:0;padding:0 0 25px 0;} h2{font-weight: normal;color: #0D4D8C;font-size:21px;margin:0;padding:0 0 25px 0;} h3{font-weight: normal;color: #0D4D8C;font-size:18px;margin:0;padding:0 0 25px 0;} h4{font-weight: normal;color: #0D4D8C;font-size:16px;margin:0;padding:0 0 25px 0;} h5{font-weight: normal;color: #0D4D8C;font-size:14px;margin:0;padding:0 0 25px 0;} h6{font-weight: normal;color: #f98740;font-size:12px;margin:0;padding:0 0 25px 0;}

h1, h2, h3, h4{font-family: 'Source Sans Pro', sans-serif;}

/* Top */

  1. wrap{margin:auto;width:1000px;padding:0 0 40px 0;}

.main_content{ clear:both;}

  1. header{width:100%; height:140px; background-color:#5AB3E3;}

.header_content{ width:1000px; margin:auto; line-height:140px} .logo{float:left;margin:0 0 0 40px; padding:0px;font-family: 'Source Sans Pro', sans-serif; font-size:45px; color:#FFFFFF;} .logo a{color:#fff;} .logo span{ font-size:14px; color:#FFFFFF;}

.top_slogan{ text-align:center;font-family: 'Source Sans Pro', sans-serif; color:#0D4D8C; font-size:30px; padding:50px 150px; font-style:strong; line-height:40px;}

/* Menu */ .menu {float:right; padding:0 20px 0 0;margin-top:15px} .menu ul {list-style:none; position:relative;float:left;margin:0;padding:0} .menu ul * {margin:0; padding:0;} .menu ul a {display:block;color:#159CD8;text-decoration:none;padding:10px 15px} .menu ul li {position:relative;float:left; padding:5px 5px 5px 5px} .menu ul li a {font-family:'Source Sans Pro', sans-serif;color:#ffffff;font-size:14px;} .menu ul li.current-menu-item{background:#5AB3E3} .menu ul ul{display:none; position:absolute; top:73.8%; left:10%; background:#159CD8; padding:0 0px 0 0} .menu ul ul li:hover{background:#ADD3F0} .menu ul ul li{float:none; width:100px} .menu ul ul a {line-height:100%; padding:0 20px 0 0} .menu ul ul ul {top:0; left:200%} .menu ul li.selected a{color:#0D4D8C} .menu ul li:hover > ul{display:block}

/* Slider */ .slider{width:920px; margin:auto; clear:both;}

.flex-container a:active, .flexslider a:active {outline: none;} .slides, .flex-control-nav, .flex-direction-nav {margin: 0; padding: 0; list-style: none;} .flexslider {width: 100%; margin: 0; padding: 0 0 0 0;} .flexslider .slides > li {display: none;} .flexslider .slides img {max-width: 100%; display: block;} .flex-pauseplay span {text-transform: capitalize;} .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} html[xmlns] .slides {display: block;}

  • html .slides {height: 1%;}

.no-js .slides > li:first-child {display: block;} .flexslider {position: relative; zoom: 1;} .flexslider .slides {zoom: 1;} .flexslider .slides > li {position: relative;} .flex-container {zoom: 1; position: relative;} .flex-direction-nav li a {width:65px; height:37px; margin:0; display: block; position: absolute; top:0px; cursor: pointer; text-indent: -9999px;} .flex-direction-nav li a.next {background:url(images/next.png) no-repeat center; right:0px;} .flex-direction-nav li a.prev {background:url(images/prev.png) no-repeat center;right:65px;} .flex-direction-nav li a.next:hover {background:url(images/next_a.png) no-repeat center;} .flex-direction-nav li a.prev:hover {background:url(images/prev_a.png) no-repeat center;} .flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;} .flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;} .flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;} .flex-control-nav li:first-child {margin: 0;} .flex-control-nav li a {width: 13px; height: 13px; display: block; cursor: pointer; text-indent: -9999px;} .flex-control-nav li a:hover {background-position: 0 -13px;} .flex-control-nav li a.active {background-position: 0 -26px; cursor: default;} .flex-caption{ position: absolute;left:0px; top:150px; width:920px;font-family: 'Source Sans Pro', sans-serif;text-align:center; font-size:14px; color:#FFFFFF; text-shadow:2px 2px 2px #000000} .flex-caption h0{font-size:30px; color:#FFFFFF} .flex-caption h2{ font-size:30px; color:#FFFFFF;text-shadow:4px 4px 2px #000000} .flex-caption p{ text-align:center; padding:0 200px;} a.slider_button{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;background-color:#8BC5EB; color:#fff; font-size:14px; padding:8px 12px; margin:20px 0 0 0; display:inline-block;}

/* STRUCTURE */ .section_full {padding:40px 40px 0 40px; float:left;} .section_one_two{ width:440px; float:left; padding:40px 0 0 40px;} .section_one_three{ width:280px; float:left; padding:40px 0 0 40px;} .section_one_four{ width:200px; float:left; padding:40px 0 0 40px;} .section_two_three{ width:600px; float:left; padding:40px 0 0 40px;} .main_content img {max-width: 100%; display: block;}

.roundimg{width:180px;height:150px;display:block;border-radius:90px;-moz-border-radius:90px;-webkit-border-radius:90px;-khtml-border-radius:90px;margin:auto;background-color:#8BC5EB;text-align:center; padding:30px 0 0 0;} .roundimg img{ margin:auto; display:block;} h2.centered_title{ text-align:center;} p.centered_text{ padding:10px 20px;} .roundimg2{width:180px;height:150px;display:block;border-radius:90px;-moz-border-radius:90px;-webkit-border-radius:90px;-khtml-border-radius:90px;margin:auto;background:none;text-align:center; padding:30px 0 0 0;}


.entry{ padding-bottom:20px;} .entry h3, .entry h4{ padding-top:30px;} .entry ul{ padding:0; margin:0px; list-style:none; display:block;} .entry ul li{background:url(images/bullet.png) no-repeat left; margin:0 0 10px 0; padding:0 0 0 20px; display:block;} img.entry_image{ padding-bottom:20px;}


.entry ol{ padding:0; margin:0px; list-style:none; display:block;} .entry ol li{ padding:0 0 10px 0; margin:0px; display:block;}

blockquote{background-color:#ededed; border:1px #dedede solid;float:left;-moz-border-radius:8px; -webkit-border-radius:8px;-khtml-border-radius:8px;border-radius:8px; padding:12px; margin:0px 10px 0 0; line-height:20px;}

/* Sidebar */ .sidebar h2{ clear:both;} .sidebar ul{ padding:0 0 45px 0; margin:0px; list-style:none; display:block;clear:both; float:left;} .sidebar ul li{ padding:0 0 10px 0; margin:0px; display:block;} .sidebar ul li a{ background:url(images/bullet.png) no-repeat left; display:block; padding:0 0 0 20px;} .sidebar ul li a:hover{ color:#0D4D8C;} .sidebar .clear{ padding-bottom:40px;}

/* Footer */ .footer{padding:20px 0 40px 0; margin:20px 0 0 0; clear:both; width:100%; background-color:#5AB3E3;} .footer_content{margin:auto;width:1000px;} .footer_left{ float:left; padding:0 0 0 40px;} .footer_right{ float:right; padding:0 40px 0 0;} ul.social_icons { margin:0px; padding:0px; list-style:none;} ul.social_icons li{ float:left;} ul.social_icons li a{width:30px;height:30px;display:block;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;-khtml-border-radius:15px;float:left;margin:0px 0 0px 5px;background-color:#b3b3b3;text-align:center;} ul.social_icons li a#top{width:30px;height:30px;display:block;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;-khtml-border-radius:15px;float:left;margin:0px 0 0px 5px;background-color:#ADD3F0;text-align:center;} ul.social_icons li a:hover{ background-color:#0D4D8C;} ul.social_icons li a img{ width:60%; display:block; margin:5px auto;}

ul.footer_menu{ padding:10px 0 0 0; margin:0px; list-style:none;} ul.footer_menu li{ float:left; padding:0 15px 0 0;} ul.footer_menu li a{ background:url(images/bullet.png) no-repeat left; padding:0 0 0 12px;}

/* Media Queries */

@media screen and (max-width: 1000px) {

  1. wrap{margin:0 auto;width:100%;}
  2. header{width:100%; height:auto; float:left; background-color:#5AB3E3; padding-bottom:40px;}

.header_content{width:100%; float:left; margin:auto; line-height:100px;overflow-y:scroll} .logo{margin:0 0 0 30px;} .logo span{ display:none;} .section_one_three, .section_two_three, .section_one_two, .section_one_four{ width:92%; float:left; padding:5% 0 0 4%;} .slider{ width:100%; margin:auto; clear:both;} .menu {float:right; padding:0 20px 0 0;margin-top:15px} .menu ul {list-style:none; position:relative;float:left;margin:0;padding:0} .menu ul * {margin:0; padding:0;} .menu ul a {display:block;color:#159CD8;text-decoration:none;padding:10px 15px} .menu ul li {position:relative;float:left; padding:5px 5px 5px 5px} .menu ul li a {font-family:'Source Sans Pro', sans-serif;color:#ffffff;font-size:14px;} .menu ul li.current-menu-item{background:#5AB3E3} .menu ul ul{display:none; position:absolute; top:73.8%; left:0; background:#159CD8; padding:0 0px 0 0} .menu ul ul li:hover{background:#ADD3F0} .menu ul ul li{float:none; width:100px} .menu ul ul a {line-height:100%; padding:0 20px 0 0} .menu ul ul ul {top:0; left:200%} .menu ul li.selected a{color:#0D4D8C} .menu ul li:hover > ul{display:block}

.top_slogan{ text-align:center;font-family: 'Source Sans Pro', sans-serif; color:#0D4D8C; font-size:18px; padding:10px; font-style:italic; line-height:22px; clear:both;}

.footer_content{margin:auto;width:100%;} .footer_left{ float:left; padding:0 0 0 10px;} .footer_right{ float:right; padding:0 10px 0 0;} }


/*Portraits*/ .abbie {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/abbie.jpg);background-position:50%;} .abbie:hover {width: 200px; height: 200px; background: url(images/portraits/abbieS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.david {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/david.jpg);background-position:50%;} .david:hover {width: 200px; height: 200px; background: url(images/portraits/davidS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.eduardo {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/eduardo.jpg);background-position:50%;} .eduardo:hover {width: 200px; height: 200px; background: url(images/portraits/EduardoS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.johannes {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/johannes.jpg);background-position:50%;} .johannes:hover {width: 200px; height: 200px; background: url(images/portraits/johannesS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.joy {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/joy.jpg);background-position:50%;} .joy:hover {width: 200px; height: 200px; background: url(images/portraits/joyS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.kevin {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/Kevin.jpg);background-position:50%;} .kevin:hover {width: 200px; height: 200px; background: url(images/portraits/KevinS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.marcelo {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/marcelo.jpg);background-position:50%;} .marcelo:hover {width: 200px; height: 200px; background: url(images/portraits/marceloS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.mattea {display:inline-block;width: 200px; height: 200px; background: url(images/portraits/mattea.jpg);background-position:50%;} .mattea:hover {width: 200px; height: 200px; background: url(images/portraits/matteaS.jpg);background-position:50%;border-radius:50%;width:200px;height:200px)}

.NAIT {display:inline-block;width: 200px; height: 200px; background: url(images/NaitSmall.gif);background-position:50%;} .NAIT:hover {width: 200px; height: 200px; background: url(images/NaitSmall.gif);background-position:50%;border-radius:50%;width:200px;height:200px)}

/*Fade Portrait Effect*/ .imgwrap {width:636px;margin:0px;background-color:none;padding:0px;overflow:hidden} .imgwrap div {display:inline-block;width:200px;height:200px;border-radius:50%;margin:5px;-webkit-transition:opacity 0.26s ease-out;-moz-transition:opacity 0.26s ease-out;-ms-transition:opacity 0.26s ease-out;-o-transition:opacity 0.26s ease-out;transition:opacity 0.26s ease-out;} .imgwrap:hover div {opacity:0.2;} .imgwrap:hover div:hover {opacity:1}


/* Modal */ .modal {opacity: 0;visibility: hidden;position: fixed;top: 0;right: 0;bottom: 0;left: 0;text-align: left;background: rgba(0,0,0, .9);transition: opacity .25s ease;} .modal__bg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;cursor: pointer;} .modal-state { display: none;} .modal-state:checked + .modal {opacity: 1;visibility: visible;} .modal-state:checked + .modal .modal__inner {top: 0;} .modal__inner {transition: top .25s ease;position: absolute;top: -20%; right: 0;bottom: 0;left: 0;width: 750px;margin: auto;overflow: auto;background:#FFFFFF;border-radius: 0px;padding: 1em 2em;height: 458px;} .modal__close {position: absolute;right: 1em;top: 1em;width: 1.1em;height: 1.1em;cursor: pointer;} .modal__close:after, .modal__close:before {content: ;position: absolute;width: 2px;height: 1.5em;background: #ccc;display: block;transform: rotate(45deg);left: 50%;margin: -3px 0 0 -1px;top: 0;} .modal__close:hover:after, .modal__close:hover:before {background: #aaa;} .modal__close:before {transform: rotate(-45deg);}

@media screen and (max-width: 750px) {

 .modal__inner {width: 90%;height: 90%;box-sizing: border-box;}

}


/* Modal Mobile */

.btn {cursor: pointer;background: none;display: inline-block;padding: none;color:none; border-radius: none;} .btn:hover, .btn:focus {background: none;} .btn:active {background: none;} p img {max-width: 200px;height: auto;float: left;margin: 0 1em 1em 0;}


/* Log Book */

  • {

margin:0; padding:0; }

span.reference{ font-family:Source Sans Pro; display:block; font-size:12px; text-align:center; margin-bottom:10px; } span.reference a{ color:#000; text-transform:uppercase; text-decoration:none; margin:0px 20px; } span.reference a:hover{ color:#8BC5EB; }



/* Booklet jQuery Plugin Style*/ .booklet{ -moz-box-shadow:0px 0px 1px #fff; -webkit-box-shadow:0px 0px 1px #fff; box-shadow:0px 0px 1px #fff; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; } .booklet .b-wrap-left { background:#fff url(../images/left_bg.jpg) no-repeat top left; -webkit-border-top-left-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-radius-topleft:10px; -moz-border-radius-bottomleft: 10px; border-top-left-radius: 10px; border-bottom-left-radius: 10px; } .booklet .b-wrap-right { background:#fff url(right_bg.jpg) no-repeat top left; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; } .booklet .b-counter { bottom:10px; position:absolute; display:block; width:90%; height:20px; border-top:1px solid #ddd; color:#222; text-align:center; font-size:12px; padding:5px 0 0; background:transparent; -moz-box-shadow:0px -1px 1px #fff; -webkit-box-shadow:0px -1px 1px #fff; box-shadow:0px -1px 1px #fff; opacity:0.8; } .book_wrapper{ margin:0 auto; padding-top:50px; width:905px; height:540px; position:relative; background:#FFFFFF no-repeat 9px 27px; } .book_wrapper h1{ color:#13386a; margin:5px 5px 5px 15px; font-size:26px; background:url(images/h1.png) no-repeat bottom left; padding-bottom:7px; } .book_wrapper p{ font-size:16px; margin:5px 5px 5px 15px; } .book_wrapper a.article, .book_wrapper a.demo{ background:url(images/circle.png) no-repeat 50% 0px; display:block; width:95px; height:41px; text-decoration:none; outline:none; font-size:16px; color:#555; float:left; line-height:41px; padding-left:47px; } .book_wrapper a.demo{ margin-left:50px; } .book_wrapper a.article:hover, .book_wrapper a.demo:hover{ background-position:50% -41px; color:#13386a; } .book_wrapper img{ margin:10px 0px 5px 35px; width:300px; padding:4px; border:1px solid #ddd; -moz-box-shadow:1px 1px 1px #000; -webkit-box-shadow:1px 1px 1px #000; box-shadow:1px 1px 1px #000; } .booklet .b-wrap-right img{ border:1px solid #E6E3C2; } a#next_page_button, a#prev_page_button{ display:none; position:absolute; width:41px; height:40px; cursor:pointer; margin-top:-20px; top:50%; background:#8BC5EB url(images/prev.png) no-repeat 0px -40px; } a#prev_page_button{ left:-30px; background:#8BC5EB url(images/prev.png) } a#next_page_button{ right:-30px; background:#8BC5EB url(images/next.png) } a#next_page_button:hover{ background:#8BC5EB url(images/next.png) } a#prev_page_button:hover{ background:#8BC5EB url(images/prev.png) } .loading{ width:160px; height:56px; position: absolute; top:50%; margin-top:-28px; right:135px; line-height:56px; color:#fff; padding-left:60px; font-size:15px; background: #000 url(../images/ajax-loader.gif) no-repeat 10px 50%; opacity: 0.7; z-index:9999; -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70); }