/* Variables */ @yellow: #ecd950; @light-blue: #a0dbe3; @cyc-green: #2fafa7; @coral: #fe684f; @gray: #454955; @white: #ffffff; @OpenSans: 'Open Sans', sans-serif; @Roboto: 'Roboto', sans-serif; body { font-family: @Roboto; font-weight: 300; &.navbar-is-fixed-top { padding-top: 80px; } a { color: @cyc-green; &:hover, &:focus { color: @cyc-green; } } } #navbar { -webkit-transition: height .3s ease-in-out; -moz-transition: height .3s ease-in-out; -o-transition: height .3s ease-in-out; transition: height .3s ease-in-out; height: 82px; box-shadow: 0 4px 2px -2px rgba(0,0,0,0.1); background-color: @white; &.navbar-fixed-top { position: fixed; right: auto; left: auto; z-index: 1030; width: 100%; } /* & > .container > .container-fluid { @media (max-width: 768px) { position: relative; } }*/ /*.dropdown:hover .dropdown-menu { display: block; }*/ &.navbar-default .navbar-nav > li { & > a { border-bottom: 3px solid @white; } &.open { & > a { background-color: #fff; border-bottom: 3px solid @coral; } } .caret { display: none; } } &.navbar-default .navbar-nav > .active > a, &.navbar-default .navbar-nav > .active > a:hover, &.navbar-default .navbar-nav > .active > a:focus { color: #555; background-color: #fff; border-bottom: 3px solid @cyc-green; } .navbar-header { float: left; .logo { img { width: 100px; height: auto; -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out; } } } #navbar-collapse { float: left; } .navbar-nav > li { & .mega-menu { right: 0; /*display: block;*/ } .nav-list-image { max-width: 60%; height: auto; } &> a { line-height: 48px; -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out; } @media (min-width: 768px){ &.mega-menu-parent { position: static; } } } .mega-menu-parent { .dropdown-menu { background-color: rgba(255, 255, 255, 0.92); padding: 16px; } h3 { font-weight: bold; font-size: inherit; border-bottom: 2px solid @cyc-green; max-width: 280px; line-height: 2em; margin: 4px 0; } ul.menu { li { a { color: #000; padding: 0; margin: 0 0 3px; } } } } &.shrink { height: 52px; -webkit-transition: height .3s ease-in-out; -moz-transition: height .3s ease-in-out; -o-transition: height .3s ease-in-out; transition: height .3s ease-in-out; .navbar-header { .logo { img { width: 60px; height: auto; -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out; } } } .navbar-nav > li > a { line-height: 18px; -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out; } .region-navigation #block-block-187 .sidr-test { margin-top: 17px; -webkit-transition: margin-top 0.3s; -moz-transition: margin-top 0.3s; -ms-transition: margin-top 0.3s; -o-transition: margin-top 0.3s; transition: margin-top 0.3s; } .searchbox{ margin-top: 8px; -webkit-transition: margin-top 0.3s; -moz-transition: margin-top 0.3s; -ms-transition: margin-top 0.3s; -o-transition: margin-top 0.3s; transition: margin-top 0.3s; } } .region-navigation { #block-block-185 { display: inline-block; float: right; .form-container { position: absolute; width: 0px; } } #block-block-187 { display: inline-block; float: right; .sidr-test { margin-top: 29px; margin-left: 20px; } .icon-bar { margin-bottom:3px; display: block; width: 22px; height: 4px; background-color: @gray; border-radius: 1px; } @media (min-width: 768px) { display: none; } } } .searchbox{ margin-top: 21px; position:relative; min-width:35px; width:0%; height:35px; float:right; overflow:hidden; -webkit-transition: width 0.3s; -moz-transition: width 0.3s; -ms-transition: width 0.3s; -o-transition: width 0.3s; transition: width 0.3s; -webkit-transition: margin-top 0.3s; -moz-transition: margin-top 0.3s; -ms-transition: margin-top 0.3s; -o-transition: margin-top 0.3s; transition: margin-top 0.3s; } .searchbox-input{ top: 0; right: 0; border: 0; outline: 0; background: #f5f5f5; width: 100%; height: 35px; margin: 0; padding: 0px 55px 0px 20px; font-size: 16px; color: @cyc-green; border-radius: 10px; } .searchbox-input::-webkit-input-placeholder { color: @light-blue; } .searchbox-input:-moz-placeholder { color: @light-blue; } .searchbox-input::-moz-placeholder { color: @light-blue; } .searchbox-input:-ms-input-placeholder { color: @light-blue; } .searchbox-icon, .searchbox-submit, .searchbox-blockout { width:35px; height:35px; display:block; position:absolute; top:0; font-size:16px; right:0; padding:0; margin:0; border:0; outline:0; line-height:35px; text-align:center; cursor:pointer; color: @white; background: @gray; border-radius: 10px; } .searchbox-blockout { background: @white; width: 25px; border-radius: 0px; } .searchbox-submit { color: @cyc-green; } .searchbox-open{ display: block; width:200px; } } /* Slide out menu */ #sidr-right { .sidr-inner { .dropdown-backdrop { display:none; } ul { border: none; } & > li { list-style: none; & > a { padding-left: 15px; font-weight: bold; padding-top: 20px; padding-bottom: 20px; display: block; border-top: 1px solid #4d4d4d; border-bottom: 1px solid #1a1a1a; &:focus, &:hover { text-decoration: none; color: @cyc-green; } &:focus { border-bottom: none; } } img { max-width: 100%; height: auto; } h3 { padding-left: 30px; margin-bottom: 0; } li { line-height: 2em; a { padding-left: 45px; font-size: .75em; } } } .sidr-class-expanded .sidr-class-dropdown-menu, .sidr-class-collapsed .sidr-class-dropdown-menu { display: none; } .sidr-class-expanded.open .sidr-class-dropdown-menu, .sidr-class-collapsed.open .sidr-class-dropdown-menu { display: block; } } } #page-header { & > .container-fluid { padding: 0; .header-bg-container { background-size: cover; background-repeat: no-repeat; background-position: top right; padding: 40px 20px; &.top-center { background-position: top center; } &.center-center { background-position: center center; } &.bottom-center { background-position: bottom center; } &.top-left { background-position: top left; } &.center-left { background-position: center left; } &.bottom-left { background-position: bottom left; } &.top-right { background-position: top right; } &.center-right { background-position: center right; } &.bottom-right { background-position: bottom right; } &.cover { background-size: cover; } &.contain { background-size: contain; } a { text-decoration: none; } h1 { font-family: @OpenSans; font-weight: 800; text-transform: uppercase; color: #333; text-decoration: none; &.has-shadow { text-shadow: 1px 1px 10px rgba(255,255,255,.5); } } &.light-type { h1 { color: @white; &.has-shadow { text-shadow: 1px 1px 10px rgba(0,0,0,.5); } } } } .view-id-sliders { .flexslider { border: 0; .slides { li { &>div { height: 375px; @media (max-width: 1023px){ height: 300px; } @media (min-width: 1100px) { .slider-padding { padding-top: 50px; } } p { font-weight: bold; padding: 10px 0; margin: 5px 0; } h1 { padding: 10px 0; } .text-container-light { background-color: rgba(255, 255, 255, .75); border-radius: 10px; padding-left: 10px; padding-right: 10px; } .button { background-color: @cyc-green; border-radius: 25px; color: #fff; font-weight: bold; padding: 10px 25px; display: inline-block; margin: 10px 0; } } -webkit-backface-visibility: visible; } } } } .top-center { background-position: top center; } .center-center { background-position: center center; } .bottom-center { background-position: bottom center; } .top-left { background-position: top left; } .center-left { background-position: center left; } .bottom-left { background-position: bottom left; } .top-right { background-position: top right; } .center-right { background-position: center right; } .bottom-right { background-position: bottom right; } .cover { background-size: cover; } .contain { background-size: contain; } .no-repeat { background-repeat: no-repeat; } .repeat-x { background-repeat: repeat-x; } .repeat-y { background-repeat: repeat-y; } } } .main-container { margin-top: 30px; .node { img { max-width: 100%; height: auto; } } .page-header { line-height: 1.4em; } .field-name-field-body, .field-name-body { p { line-height: 1.7em; } } .region-sidebar-second { .block { margin-bottom: 20px; } .block-menu { h2 { font-size: 1.25em; border-bottom: 2px solid @cyc-green; } .expanded { .dropdown-menu { display: block; position: relative; top: inherit; left: inherit; width: 100%; border: 0; box-shadow: none; padding-left: 1em; font-weight: normal; font-weight: 100; color: inherit; padding-top: 0; padding-bottom: 0; li { a { background-color: inherit; color: @cyc-green; font-weight: 300; } &.active-trail a { color: black; } } } } ul { li { a { padding: 0; } &.active-trail a { color: black; } } } } } #block-block-154 { a { font-size: 24px; margin: 10px 15px 10px 0; @media (max-width: 1024px) { margin-right: 7px; } } .fa-facebook-official { color: #3b5998; } .fa-instagram { color: #c32aa3; } .fa-twitter, .fa-twitter-square { color: #00b6f1; } .fa-youtube, .fa-youtube-play { color: #b31217; } .fa-pinterest { color: #cb2027; } } } .footer { background-color: @gray; color: @white; a { color: @coral; } #search-block-form { display: none; } } .video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Full-width Blocks HOME */ body.front { .hp-block-gray { background-color: #f1f1f1; } header #flexslider-1 { margin-bottom: 0; } #full-width-container { font-size: 16px; padding: 0; .block-block { padding: 20px 0 40px; } img { max-width: 100%; height: auto; } h1 { text-transform: uppercase; color: @cyc-green; font-weight: bold; margin-bottom: 20px; } a.learn { font-size: .85em; font-weight: bold; text-transform: uppercase; text-decoration: underline; } /* PomPom Party */ /* WUA! */ #block-block-190, #block-block-193 { .col-md-4 { padding: 20px; text-align: center; p { padding-top: 15px; a { color: @coral; text-decoration: underline; text-transform: uppercase; font-weight: bold; font-size: .85em; } } } } /* Learn To Knit */ #block-block-191 { h1, h2 { text-align: center; } h2 { color: #353535; font-weight: 100; } .learn { padding: 20px 0; .col-sm-6 { padding: 0 20px 40px; img { width: 100%; height: auto; } p { padding: 10px; a { display: inline-block; padding-top: 5px; font-size: .8em; color: black; text-transform: uppercase; text-decoration: underline; font-weight: bold; } } } .crochet { position: relative; background-color: #fff; border-bottom: 8px #efe326 solid; } .knit { position: relative; background-color: #fff; border-bottom: 8px #769dad solid; } } } } #block-block-192 { padding-top: 60px !important; } .footer { margin-top: 0; } } body.page-node-3069 .page-header { display: none; } #block-views-blog-block-1 { position: relative; margin-bottom: 5em; img { display: inline-block; } .copy { width: 100%; position: absolute; text-align: left; top: 20%; left: 0; z-index: 10; .copy-inner { background-color: rgba(255, 255, 255, 0.75); border-radius: 10px; padding-left: 5px; padding-right: 5px; .field-content { line-height: 1.35em; } .button { background-color: #2fafa7; border-radius: 25px; color: #fff; font-weight: bold; padding: 10px 25px; display: inline-block; margin: 10px 0; } } span { display: block; } } .row { text-align: right; } @media (max-width:1199px) { .copy { top: 15%; .copy-inner { h2 { font-size: 1.5em; } } } } @media (max-width:991px) { .copy { top: 0; position: relative; .copy-inner { h2 { font-size: 1.5em; } } } } } #block-views-blog-block-2 { .views-field-created { margin-top: 1em; } .col-md-4 { height: 425px; @media (max-width:1199px) { height: 395px; } @media (max-width:991px) { height: auto; margin-bottom: 2em; } } .views-field-title { margin: .25em 0; display: block; font-size: 1.25em; line-height: 1.5em; font-weight: bold; max-height: 3em; overflow: hidden; } .views-field-field-paragraphs, .views-field-body { display: block; font-size: 1em; line-height: 1.5em; height: 6em; overflow: hidden; } } .field-name-field-paragraphs.field-type-paragraphs { .paragraphs-item-text-image, .paragraphs-item-text-only, .paragraphs-item-blockquote, .paragraphs-item-image-only { margin-bottom: 10px; } .paragraphs-item-blockquote { border-top: 2px solid @cyc-green; border-bottom: 2px solid @cyc-green; padding: 30px 40px 15px 40px; .field-name-field-body .field-item { position: relative; text-align: center; color: #333; font-style: italic; font-size: 2.5em; font-weight: bold; &:before {content:open-quote; } &:after {content:close-quote; } } .field-name-field-quotee { color: @cyc-green; text-align: right; font-weight: bold; font-size: 1.5em; } } } /* ILYD - I Love Yarn Day */ #block-block-141 { text-align: center; img { width: 100%; height: auto; } .copy { margin-top: 22px; } } body.page-node-2963 { #node-2963 { text-align: center; } } .ilyd-primary-block { color: #fff; font-family: @OpenSans; font-weight: bold; font-size: 1em; a { color: #fff; &:hover { color: #fff; text-decoration: none; } span { font-size: 2.25em; line-height: 1em; } } .get-involved, .free-patterns, .tips, .contests, .downloads { margin-bottom: 30px; } .free-patterns { background: url('/sites/default/files/images/ilyd/ilyd-2017-get-involved-bg.jpg') no-repeat top left; background-size: cover; display: table; width: 100%; height: 200px; .inner { display: table-cell; text-align: center; border: 1px solid #fff; vertical-align: middle; span { text-shadow: 1px 1px 10px rgba(0,0,0,.5); } } } .pompom { padding: 5px; background-color: #e75c46; display: table; width: 100%; height: 100px; .inner { display: table-cell; text-align: center; border: 1px solid #fff; vertical-align: middle; } } .get-involved { background: url('/sites/default/files/images/ilyd/2019/ilyd-2019-get-involved.jpg') no-repeat top left; background-size: cover; display: table; width: 100%; height: 330px; .inner { display: table-cell; text-align: center; border: 1px solid #fff; vertical-align: middle; span { text-shadow: 1px 1px 10px rgba(0,0,0,.5); } } } .contests { padding: 5px; background-color: #2fafa7; display: table; width: 100%; height: 100px; .inner { display: table-cell; text-align: center; border: 1px solid #fff; vertical-align: middle; } } .downloads { background: url('/sites/default/files/images/ilyd/ilyd-2017-download-bg.jpg') no-repeat top left; background-size: cover; display: table; width: 100%; height: 200px; .inner { display: table-cell; text-align: center; border: 1px solid #fff; vertical-align: middle; span { text-shadow: 1px 1px 10px rgba(0,0,0,.5); } } } } #clockdiv { font-family: sans-serif; color: #fff; display: inline-block; font-weight: 100; text-align: center; font-size: 30px; & > div{ padding: 10px; border-radius: 3px; background: #994d81; display: inline-block; & > span { padding: 15px; border-radius: 3px; background: #723c61; display: inline-block; } } .smalltext{ padding-top: 5px; font-size: 16px; } } .table.size-chart { .cm td { border-top: none; font-style: italic; } .number { font-weight: bold; } .description { font-style: normal !important; } } @media (min-width: 1024px) { .desktop-float { &.right { float: right; } &.percent50 { width: 50%; } } } table#downloadable-symbols-table { img { max-width: 100px; height: auto; &.project { max-width: 175px; } } }