// out: shared.css /* @xs: 767px; @sm: 768px; Just set these a touch wider so the login form doesn't go onto next line */ @xxs: 430px; @xs: 847px; @sm: 848px; @md: 992px; @lg: 1200px; @outline-color: #333; @dark-grey: #666666; body, a, div, h2 { font-family: source-sans-pro, sans-serif; } .navbar { background-color: white; .navbar-collapse { margin-top: 10px; } .navbar-toggle { margin-top: 18px; margin-bottom: 18px; } .navbar-brand img { height: 40px; } .navbar-form { padding-left: 10px; padding-right: 10px; .popover-sign-in { position: absolute; right: 20px !important; } button { float: right; margin-left: 5px; @media (min-width: @sm) { float: none; margin-left: 0px; } &:last-of-type { float: none; margin-left: 0px; } } } .dropdown-menu { opacity:0.87; filter:Alpha(opacity=87); } } .popover { left: auto !important; right: 10px !important; width: 260px; .arrow { left: auto !important; right: 25px !important; } input, .form-group { width: 100%; margin-bottom: 2px; } .popover-form div.popover-buttons button { float: none; margin-left: 5px; &:first-of-type { margin-left: 0px; } } } .jumbotron { margin-top: 70px; margin-bottom: 0px; background-image: url('../images/rotate.php'); background-position: center -100px; min-width: 1000px; background-size: cover; /* min-height: 140px; */ min-height: 280px; /* NdV put this in to stop the image going multiple on a narrow screen size. But it causes the text to go off the rhs of the screen. */ min-width: 800px; /* NdV: make sure the image is roughly vertically centred in the jumbotron area */ @media (min-width: 900px) { background-position: center -100px; } @media (min-width: 950px) { background-position: center -116px; } @media (min-width: 1000px) { background-position: center -133px; } @media (min-width: 1050px) { background-position: center -150px; } @media (min-width: 1100px) { background-position: center -167px; } @media (min-width: 1150px) { background-position: center -183px; } @media (min-width: 1200px) { background-position: center -200px; } @media (min-width: 1250px) { background-position: center -216px; } @media (min-width: 1300px) { background-position: center -233px; } @media (min-width: 1350px) { background-position: center -250px; } @media (min-width: 1400px) { background-position: center -267px; } @media (min-width: 1450px) { background-position: center -283px; } @media (min-width: 1500px) { background-position: center -300px; } /* NdV: don't show the jumbotron at all on small screen */ @media (max-width: @xs) { display:none; } h2, p{ text-shadow: -1px -1px 0 @outline-color, 1px -1px 0 @outline-color, -1px 1px 0 @outline-color, 1px 1px 0 @outline-color; color: white; line-height: 28px; } p:first-of-type{ text-transform: uppercase; font-size: smaller; margin-bottom: -15px; } p:last-of-type{ text-shadow: none; color: auto; } } .ticker { /* background-color: @dark-grey; IIBA green colour */ background-color: #203e48; color: white; font-weight: 300; width: 100%; min-height: 30px; padding-top: 5px; padding-bottom: 5px; } #breadcrumbs { margin-left:13px; .glyphicon { font-size:7px; color:gray; top:-1px; margin-left:6px; margin-right:6px; } } .article_header { font-size:24px; color:#748c8c; } .article_subheading { font-size:18px; color:#748c8c; margin-top:20px; } .article_byline{ margin-top:-10px; color:#748c8c; } .article_date{ margin-top:-15px; color:#748c8c; } .article_subheading { } .blog_article { margin: 20px 0px 40px; } .news_article { margin: 20px 0px 40px; } #news-label { font-size: 18px; position: relative; top: 3px; left: 4px; } .news-tweet { margin-left: 28px; } .news-date { margin-left: 28px; margin-top: 5px; color: #999; } #mainform { margin-top:30px; fieldset { margin-bottom: 20px; } legend { font-size: 14px; font-weight: bold; color:#203e48; } .legend { font-size: 14px; font-weight: bold; color:#203e48; } br { clear: left; } label { font-weight:normal; display: block; min-width: 250px; width: 250px; margin-bottom:0px; @media (min-width: @sm) { float: left; } } .wide_label { width: 600px; @media (max-width: @xxs) { width:100%; } } input[type="text"] { width:400px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } input[type="email"] { width:400px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } input[type="password"] { width:400px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } input[type="url"] { width:400px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } input[type="tel"] { width:200px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } select { width:400px; @media (max-width: @xxs) { width:100%; } margin-bottom: 10px; } textarea { width:400px; @media (max-width: @xxs) { width:100%; } height:150px; margin-bottom: 10px; } .checkboxarea { display: inline-block; width:50px; @media (min-width: @sm) { text-align:right; } } input[type="checkbox"] { } input[type="submit"] { margin-top:30px; } #iiba_id { width:100px; } #uk_id { width:100px; } #postcode { width:100px; } #areas { height:80px; } #preferences { color:#203e48; text-decoration:none; } .glyphicon-star { font-size:9px; color:red; margin-left:8px; @media (min-width: @sm) { float:right; margin-right:8px; top:8px; } } } .memberlist { width:100%; margin:auto; .teammember { height:280px; max-width:200px; text-align:center; vertical-align:top; display:inline-block; /* margin-right:80px; */ margin-right:65px; margin-bottom:30px; @media (max-width: @xs) { height:320px; margin-bottom:50px; } } .teammemberphoto { border-radius: 6px; width:200px; height:200px; @media (max-width: @xs) { width:260px; height:260px; } } .teammembername { max-width:200px; } .teammemberrole { font-weight:bold; max-width:200px; } } .pricinglist { width:100%; margin:auto; .pricingoption { border-radius: 6px; border: 2px solid black; /* height:280px; */ /* width:40%; */ width:400px; text-align:center; vertical-align:top; display:inline-block; margin-top:30px; margin-right:50px; margin-bottom:30px; @media (max-width: @xxs) { width:99%; margin-bottom:50px; } .pricingoptionheader { padding-top:4px; font-size:20px; font-weight:normal; color:white; vertical-align:center; width:100%; height:35px; @media (max-width: @xs) { } } ul { margin-top:20px; line-height:200%; list-style: none outside none; padding: 0 0 0 20px; text-indent: 0px; @media (max-width: @xxs) { width:99%; margin: 0; } li { text-align: left; padding-left: 20px; text-indent: -20px; i { color: #69AA46 !important; text-align: center; display: inline-block; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; margin-right:10px; } i:before { content: "\f046"; margin-left:10px; } } } .price { color:#666666; font-size:40px; font-weight:normal; } button { margin-top:10px; margin-bottom:30px; /* width:260px; */ width:66%; } } } #mapcontainer { width:100%; text-align:center; } #mapdiv { width:354px; height:526px; position:relative; margin:auto; @media (max-width: @xxs) { width:177px; height:263px; } } #ukmap { width:354px; height:526px; /* this is vey nice but it will require us to create a separate version of the image map and all the overlays so leave for time being @media (max-width: @xxs) { width:177px; height:263px; } */ } .twitter { margin: 20px 2px -10px 2px; #twitter-bird { height: 16px; } #twitter-label { font-size: 18px; position: relative; top: 3px; left: 4px; } .twitter-tweet { margin-left: 28px; } .twitter-date { margin-left: 28px; margin-top: 5px; color: #999; } .carousel { .item { left: 0 !important; .transition(opacity); } .next.left, .prev.right { opacity: 1; z-index: 1; } .active.left, .active.right { opacity: 0; z-index: 2; } .carousel-indicators { text-align: right; bottom: -15px; left: auto !important; right: 0px; li { border-color: @dark-grey; .transition(background-color; 0.5s); } .active { background-color: @dark-grey; } } } } footer { margin-bottom: 50px; .social-icons { margin-top: 3px; padding-right: 0px; text-align: right; img { width: auto !important; height: 24px; } } .search { padding-bottom: 10px; padding-left: 0px; padding-right: 0px; @media (min-width: @md) { padding-bottom: 0px; padding-left: 10px; padding-right: 10px; } } .legal { font-size: 13px; margin-top: 6px; padding-left: 0px; } } .btn-grey { background-color: @dark-grey; color: white; } .transition(@property; @time: 1s) { -webkit-transition: @property @time; -moz-transition: @property @time; -ms-transition: @property @time; -o-transition: @property @time; transition: @property @time; } .main { margin-top:60px; } #pageheader-wide { /* NdV: if not showing the jumbotron (see above), need to have a margin above the page header */ @media (max-width: @sm) { margin-top:90px; } } #pageheader { /* NdV: if not showing the jumbotron (see above), need to have a margin above the page header */ @media (max-width: @sm) { margin-top:90px; } } #expandmap { cursor:pointer; text-decoration:none; @media (min-width: @sm) { margin-left:-15px; } } .ifbig { /* Only show (eg table columns) if the screen is big enough */ @media (max-width: @sm) { display: none; } } tbody tr:nth-child(odd) { @media (max-width: @xs) { background-color: #f6f6f6; } } .speakerphoto { border-radius:6px; float:left; width:120px; height:120px; margin-right:10px; } .embed_ss { border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; @media (min-width: 315px) { width:315px; height:236px; } @media (min-width: 420px) { width:420px; height:315px; } @media (min-width: 525px) { width:525px; height:393px; } @media (min-width: 630px) { width:630px; height:472px; } @media (min-width: 945px) { width:1045px; height:708px; } }