.widget { margin: 0 0 1.5em; /* Make sure select elements fit in widgets. */ } .widget select { max-width: 100%; padding: 3px; } #secondary { float: left; width: calc(100% - (68% + 30px)); // padding: 25px; margin-bottom: 50px; // box-shadow: 0 0 26px $color_secondary_box_shadow; @include for-size(tablet-portrait-up) { width: 100%; float: none; -webkit-box-shadow: none; box-shadow: none; padding: 0; margin-top: 60px; } @include for-size(phone-only) { width: 100%; float: none; -webkit-box-shadow: none; box-shadow: none; padding: 0; margin-top: 60px; } .widget { padding: 30px; background: $color_body; box-shadow: 0 0 26px $color_secondary_box_shadow; } .widget-title { padding-bottom: 8px; border-bottom: 1px dashed #b5b5b5; } } .widget-area { .widget { ul { margin: 0; padding: 0 18px; li { margin-bottom: 6px; a { color: $color_title; &:hover, &:focus { color: $color_screen; } } } } } } .artblog_widget_social { ul { margin: 0; padding: 0; list-style-type: none; @include flex; li { margin-right: 20px; a { position: relative; color: $color_title; line-height: 1; @include transition(all, linear, 0.3s) &::before { font-family: "Font Awesome 5 Brands"; font-weight: 900; } &:hover, &:focus { color: $color_screen; } } a[href*="twitter.com"]::before { content: "\f099"; } a[href*="facebook.com"]::before { content: "\f39e"; } a[href*="github.com"]::before { content: "\f09b"; } a[href*="linkedin.com"]::before { content: "\f0e1"; } a[href*="instagram.com"]::before { content: "\f16d"; } } } } .widget-area { .artblog_widget_social { ul { padding: 0; } } .widget_categories, .widget_recent_entries, .widget_recent_comments { ul { padding: 0; list-style-type: none; li { position: relative; margin-left: 15px; &::before { font-family: "Font Awesome 5 Free"; font-size: $font_size_meta_icon - 3; color: $color_title; font-weight: 900; position: absolute; top: 0; left: -15px; content: "\f054"; } } } } } .widget-title { position: relative; font-family: $font_family_heading; font-size: $font_size_title; color: $color_title; line-height: 28px; margin-bottom: 18px; } .widget_calendar { table { caption { font-size: $font_size_paragraph; margin-bottom: 7px; color: $color_title; } } } .widget_nav_menu { .menu { li { .sub-menu { .sub-menu { .sub-menu { .sub-menu { margin: 0; padding: 0; } } } } } } } .widget_search { .search-form { position: relative; .search-field { padding: 10px 12px; padding: 10px 110px 10px 12px; width: 100%; } .search-submit { position: absolute; right: 0; border: 1px solid $color_screen; box-shadow: 0 0 20px lighten($color_screen, 50%); } } } .widget_tag_cloud { ul { padding: 0; margin: 0; list-style-type: none; li { display: inline-block; margin-right: 10px; } } } .widget-area { .widget_tag_cloud { ul { padding: 0; } } } .artblog_widget_author { .author-image { img { display: block; width: 150px; height: 150px; border: 8px solid rgba(0,0,0,0.050); border-radius: 50%; margin: 0 auto; } } .author-details { text-align: center; margin-top: 15px; .author-name { margin-bottom: 9px; a { display: block; font-size: $font_size_title; color: $color_title; &:hover, &:focus { color: $color_screen; } } } .author-social-links { list-style-type: none; padding: 0; margin: 0; @include flexbox(true, center, center); li { a { color: $color_title; &:hover, &:focus { color: $color_screen; } } } li:not(:last-child) { margin-right: 20px; } } } } .artblog_widget_recent_posts_advanced { .recent-posts-wrapper { .recent-posts-item { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #e5e5e5; .recent-posts-item-inner { .recent-posts-item-thumb { margin-right: 10px; } .recent-posts-item-content-wrap { .recent-posts-item-title { margin-bottom: 10px; line-height: 1; a { font-size: $font_size_paragraph; color: $color_title; &:hover, &:focus { color: $color_screen; } } } .entry-cat-meta { margin-bottom: 2px; .artblog-cat { font-size: 12px; padding: 6px; } } } } } .recent-posts-item:last-child { border: none; margin: 0; } .featured-image-active { .recent-posts-item-inner { @include flexbox(true, flex-start, flex-start); } } } }