/* Theme Name: Myself Description: Used to style the TinyMCE editor. */ /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } blockquote, blockquote p { color: #333333; font-style: italic; } blockquote cite { display: block; color: #555; font-size: 12px; } blockquote cite:before { content: "\2014 \0020"; } blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0; padding: 0; } ol li { padding: 10px 0 10px 10px; } ul { list-style: square; } main ul, aside ul{ list-style: none; } main ul > li, aside ul > li { position: relative; padding: 10px 0 10px 25px; border-top: 1px dotted #333; } main ul > li::before, aside ul > li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 10px; } main ul > li:first-child, aside ul > li:first-child{ border: none; } ol { list-style: decimal; } /* Highlight Color */ ::-moz-selection { background: #21759b; color: #fff; text-shadow: none; } ::selection { background: #21759b; color: #fff; text-shadow: none; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: none; background: none repeat scroll 0 0 #21759b; padding:10px 15px; color: #ffffff; font-family: 'Roboto', serif; font-size: 18px; cursor: pointer; text-decoration: none; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background-color: #12619B; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; } input[type="text"], input[type="password"], input[type="email"], select, .search-form .submit, textarea { padding: 10px 15px; border: 1px solid #ccc; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; color: #333; font-family: 'Roboto', serif; font-size: 18px; outline: none; -webkit-appearance: none; -moz-appearance: none; } select { border: 1px solid #ccc; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"] { padding: 10px 15px; outline: none; } textarea { padding-left: 3px; width: 100%; } /*-------------------------------------------------------------- # Lists --------------------------------------------------------------*/ ol { margin: 0 0 20px 0; list-style-position: inside; list-style-type: decimal; } ol ol { list-style: lower-alpha outside none; } ol ol ol { list-style: lower-roman outside none; } ol ol ol ol { list-style: upper-alpha outside none; } ol ol ol ol ol { list-style: lower-alpha outside none; } ul { margin: 0 0 20px 0; } ul ol, ol ul, ol ol, ul ul { margin-bottom: 0; } dl { margin: 0 0 18px 3px; } dl dt { margin: 12px 0 0; font-weight: bold; } dl dd { margin: 6px 0 0 24px; } code, kbd, tt, var, samp, pre { -moz-hyphens: none; font-family: monospace,serif; font-size: 15px; line-height: 1.6; } pre { overflow: auto; -moz-box-sizing: border-box; max-width: 100%; padding: 12px; border: 1px solid rgba(0, 0, 0, 0.1); margin-bottom: 24px; white-space: pre-wrap; word-wrap: break-word; } mark, ins { background: none repeat scroll 0 0 #FFFF00 ; text-decoration: none; } cite, dfn, em, i { font-style: italic; } sup, sub { font-size: 60%; } /*-------------------------------------------------------------- ## Images --------------------------------------------------------------*/ img { max-width: 100%; width: auto; height: auto; border: 0 none; vertical-align: middle; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ .main-navigation ul { display: none; list-style: none; margin: 0; padding-left: 0; } .main-navigation li { float: left; margin-bottom: 10px; position: relative; } .main-navigation ul ul li{ margin-bottom:0; } .main-navigation a, .show-form { display: block; text-decoration: none; font-family: 'Raleway', sans-serif; font-weight: 600; background: rgba(0,0,0,0.1); padding: 10px; border-right: 1px dotted #23527c; color:#990000; } .main-navigation ul ul li a{ border-right: none; } .main-navigation a:hover, .current-menu-item a{ background:#990000; color: #fff; } .container-fluid{ background: #eee; } .main-navigation li:last-child a{ border: none; } .main-navigation ul ul { background: #ddd; float: left; position: absolute; top: 100%; left: -999em; z-index: 99999; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul a { width: 200px; } .main-navigation ul ul li { } .main-navigation li:hover > a, .main-navigation li.focus > a { } .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { } .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a { } /* Small menu. */ .menu-toggle, .main-navigation.toggled ul { display: block; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; display: inline-block; background: #990000; padding: 5px; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; display: inline-block; background: #990000; padding: 5px; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 16px; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; } .alignright { display: inline; float: right; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .byline, .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- ## Asides --------------------------------------------------------------*/ .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } #recentcomments, #archives-2 ul, #categories-2 ul, #recent-posts-2 ul, #meta-2 ul { list-style-type: none; } #recentcomments li::before { content: "\f0e6"; font-family: "FontAwesome"; margin-right: 10px; } .bypostauthor { display: block; } #archives-2 ul li::before { content: "\f073"; font-family: "FontAwesome"; margin-right: 10px; } #categories-2 ul li::before { content: "\f115"; font-family: "FontAwesome"; margin-right: 10px; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; border: 1px solid #ccc; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin: 1.2% auto 0; max-width: 98%; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 20px; margin-left: -4px; clear: both; overflow: hidden; } .gallery-item { overflow: hidden; float: left; margin: 0 4px 4px 0; position: relative; } .gallery-icon { margin-bottom: 0; } .gallery-columns-1.gallery-size-medium, .gallery-columns-1.gallery-size-thumbnail, .gallery-columns-2.gallery-size-thumbnail, .gallery-columns-3.gallery-size-thumbnail { display: table; margin: 0 auto 20px; } .gallery-columns-1 .gallery-item, .gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item { text-align: center; } .gallery-columns-3 .gallery-item { max-width: 49.3%; max-width: calc(50% - 4px); } .gallery-columns-3 .gallery-item { max-width: 32.7%; max-width: calc(33% - 4px); } .gallery-columns-4 .gallery-item { max-width: 24.4%; max-width: calc(25% - 4px); } .gallery-columns-5 .gallery-item { max-width: 19.4%; max-width: calc(20% - 4px); } .gallery-columns-6 .gallery-item { max-width: calc(16.7% - 4px); } .gallery-columns-7 .gallery-item { max-width: 13.6%; max-width: calc(14.28% - 4px); } .gallery-columns-8 .gallery-item { max-width: 11.8%; max-width: calc(12.5% - 4px); } .gallery-columns-9 .gallery-item { max-width: 10.4%; max-width: calc(11.1% - 4px); } .gallery-columns-1 .gallery-item:nth-of-type(n), .gallery-columns-2 .gallery-item:nth-of-type(2n), .gallery-columns-3 .gallery-item:nth-of-type(3n), .gallery-columns-4 .gallery-item:nth-of-type(4n), .gallery-columns-5 .gallery-item:nth-of-type(5n), .gallery-columns-6 .gallery-item:nth-of-type(6n), .gallery-columns-7 .gallery-item:nth-of-type(7n), .gallery-columns-8 .gallery-item:nth-of-type(8n), .gallery-columns-9 .gallery-item:nth-of-type(9n) { margin-right: 0; } dl.gallery-item dt.gallery-icon { margin: 0; } .gallery-caption { opacity: 0; position: absolute; left: 0; bottom: 0; width: 100%; max-height: 50%; padding: 2px 8px; margin: 0; background-color: rgba(0, 0, 0, 0.7); color: #FFFFFF; font-size: 14px; line-height: 1.3; text-align: left; transition: opacity 400ms ease 0s; } .gallery-caption:before { position: absolute; top: 0; left: 0; content: ""; min-height: 49px; width: 100%; height: 100%; box-shadow: 0 -10px 15px #000000 inset; } .gallery-item:hover .gallery-caption { opacity: 1; } .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; } /*comment*/ #comments { margin: 50px 0; } .comment-list, .comment-list ol { margin: 25px 0 40px; list-style-position: outside; } .comment-list .comment { margin-bottom: 25px; } .comment-wrapper { overflow: hidden; } .comment-meta { margin-bottom: 10px; overflow: hidden; padding: 10px 0; border-bottom: 1px dashed #333; } .comment-author { float: left; margin-right: 15px; } #comments article{ background: #fff; padding: 25px; } .comment-author img { display: inline-block; border-radius: 50%; width: 50px; height: 50px; } .comment-author .fn { display: block; padding-bottom: 3px; font-size: 18px; color: #000; margin-top: 10px; } .comment-author a:hover { text-decoration: none; } .comment-content { line-height: 30px; } .comment-reply-link { font-size: 14px; line-height: 1.5; } .comment-list ol { margin-left: 40px; } .comment-subscription-form{ margin-bottom: 7px; }