Last active
November 10, 2023 22:52
-
-
Save humayunahmed8/b4d6e64c10147d81b8e756d45cf143d6 to your computer and use it in GitHub Desktop.
WP Default Widget & Content CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Post Content Paragraph */ | |
.entry-content p { | |
margin-bottom: 1rem; | |
} | |
/* Post Content Heading */ | |
.entry-content h1, | |
.entry-content h2, | |
.entry-content h3, | |
.entry-content h4, | |
.entry-content h5, | |
.entry-content h6 { | |
margin-bottom: 1rem; | |
} | |
.entry-content h1 { | |
font-size: 1.5rem; | |
line-height: 1.32; | |
} | |
.entry-content h2 { | |
line-height: 1.4; | |
font-size: 1.25rem; | |
} | |
.entry-content h3 { | |
font-size: 1.125rem; | |
line-height: 1.2; | |
} | |
.entry-content h4 { | |
font-size: 1.125rem; | |
line-height: 1.6; | |
} | |
.entry-content h5 { | |
font-size: 1rem; | |
line-height: 1.6; | |
padding: 0; | |
} | |
@media (min-width: 600px){ | |
.entry-content h1 { | |
font-size: 2rem; | |
} | |
.entry-content h2 { | |
font-size: 1.5rem; | |
} | |
} | |
@media (min-width: 1024px){ | |
.entry-content h1 { | |
font-size: 2.25rem; | |
} | |
.entry-content h2 { | |
font-size: 1.75rem; | |
} | |
.entry-content h3 { | |
font-size: 1.25rem; | |
} | |
} | |
.entry-content h6 { | |
font-size: .875rem; | |
line-height: 1.6; | |
} | |
/* Post Content Unordered List */ | |
.entry-content ul { | |
list-style-type: none; | |
padding-left: 0; | |
text-align: left; | |
} | |
.entry-content ul>li { | |
padding-left: 2rem; | |
position: relative; | |
} | |
.entry-content ul>li::before { | |
content: "\e92b"; | |
font-family: Feather; | |
left: 0; | |
position: absolute; | |
background-color: #6658ea; | |
color: #fff; | |
border-radius: 50%; | |
display: block; | |
font-size: .65rem; | |
height: 1.2rem; | |
width: 1.2rem; | |
line-height: 1.2rem; | |
text-align: center; | |
top: .35rem; | |
} | |
.entry-content ul>li.elementor-editor-element-setting::before { | |
content: inherit!important; | |
} | |
/* Post Content Blockquote */ | |
.entry-content blockquote { | |
margin: 0 0 20px 0; | |
padding: 20px; | |
font-size: 18px; | |
font-style: italic; | |
background-color: #f2f2f2; | |
border-left: 10px solid #ccc; | |
} | |
.entry-content blockquote p { | |
margin: 0; | |
} | |
/* Post Content Figure & Captions */ | |
.wp-caption { | |
margin-bottom: 1.5em; | |
max-width: 100%; | |
} | |
.wp-caption img[class*="wp-image-"] { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.wp-caption .wp-caption-text { | |
margin: 0.625rem 0; | |
margin-bottom: 0; | |
} | |
.wp-caption-text { | |
text-align: center; | |
} | |
/* Post Content Image Alignments */ | |
.alignleft { | |
float: left; | |
margin-right: 1.5em; | |
margin-bottom: 1.5em; | |
} | |
.alignright { | |
float: right; | |
margin-left: 1.5em; | |
margin-bottom: 1.5em; | |
margin-top: 1.5em; | |
} | |
.aligncenter { | |
clear: both; | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
margin-bottom: 1.5em; | |
} | |
/** * WP Default Widget CSS */ | |
.widget { | |
margin-bottom: 30px; | |
} | |
/* Widget Link */ | |
.widget a { | |
color: #5f6368; | |
-webkit-transition: 0.3s; | |
-o-transition: 0.3s; | |
transition: 0.3s; | |
text-decoration: none; | |
} | |
.widget a:hover { | |
background-color: transparent; | |
} | |
.widget a:focus { | |
background-color: transparent; | |
box-shadow: none; | |
} | |
.widget a:hover { | |
color: #177b95; | |
} | |
/* Widget Table/Calender */ | |
.widget table { | |
border: 1px solid #1a73e8; | |
width: 100%; | |
} | |
.widget table tr { | |
border-bottom: 1px solid #1a73e8; | |
} | |
.widget table thead { | |
background: #f5f5f5; | |
} | |
.widget table td, .widget table th { | |
text-align: center; | |
} | |
.widget table td { | |
border-right: 1px solid #1a73e8; | |
} | |
.widget table tfoot td { | |
text-align: left!important; | |
} | |
.widget table td { | |
padding: 5px; | |
} | |
.widget table th { | |
padding: 5px; | |
} | |
.widget table td#today { | |
background: #1a73e8; | |
color: #fff; | |
} | |
.widget table td#today a { | |
color: #fff; | |
} | |
/* Widget List */ | |
.widget ol { | |
margin: 0; | |
padding: 0; | |
} | |
.widget ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
.widget ul li { | |
margin-bottom: 5px; | |
} | |
.widget ul ul { | |
padding-left: 15px; | |
padding-top: 5px; | |
} | |
.widget ul ul ul { | |
padding-left: 5px; | |
} | |
/* Widget RSS */ | |
.widget.widget_rss li { | |
margin-bottom: 15px; | |
border-bottom: 1px solid #eee; | |
padding-bottom: 15px; | |
} | |
.widget.widget_rss .rssSummary { | |
font-size: 95%; | |
padding-top: 10px; | |
} | |
.widget.widget_rss cite { | |
padding-top: 10px; | |
display: inline-block; | |
font-weight: 700; | |
} | |
.widget.widget_rss .rsswidget { | |
font-size: 110%; | |
} | |
.widget.widget_rss .rss-date { | |
font-size: 80%; | |
display: block; | |
} | |
.widget a:hover { | |
color: #000; | |
} | |
/* Widget Search */ | |
.widget.widget_search #searchform { | |
max-width: 100%!important; | |
} | |
.widget select { | |
background: #f5f8f9; | |
border: 1px solid #e8eef1; | |
width: 100%; | |
padding: 10px; | |
position: relative; | |
} | |
.widget .search-form { | |
position: relative; | |
margin: 13px 0; | |
} | |
.widget .search-form input { | |
background: #fff none repeat scroll 0 0; | |
border: 1px solid #1a73e8; | |
font-size: 13px; | |
line-height: 50px; | |
text-indent: 10px; | |
width: 100%; | |
height: 45px; | |
border-radius: 0; | |
} | |
.widget .search-form input:focus { | |
outline: 0; | |
} | |
.widget .search-form button { | |
color: #605f5f; | |
background: #fff; | |
font-size: 14px; | |
line-height: 50px; | |
padding: 0 15px; | |
position: absolute; | |
right: 0; | |
top: 0; | |
border: 1px solid #1a73e8; | |
height: 100%; | |
cursor: pointer; | |
z-index: 99; | |
background: #1a73e8; | |
color: #fff; | |
} | |
.widget .search-form input[type="search"] { | |
padding-right: 55px; | |
} | |
.widget .search-form span { | |
background: transparent; | |
height: 0; | |
width: 0; | |
padding: 0; | |
border: 0; | |
} | |
.widget .search-form label { | |
display: block; | |
} | |
.widget .search-form input[type="submit"] { | |
position: absolute; | |
right: 0; | |
top: 0; | |
background: #177b95; | |
color: #fff; | |
height: 100%; | |
text-transform: uppercase; | |
outline: 0; | |
border: 0; | |
border-radius: 0; | |
padding: 0 20px; | |
cursor: pointer; | |
} | |
/* Widget Title */ | |
.widget-title { | |
margin-bottom: 15px; | |
} | |
.widget h2 { | |
font-size: 22px; | |
color: #242424; | |
font-weight: 500; | |
} | |
/* Widget Text */ | |
.widget.widget_text img { | |
width: 100%; | |
height: auto; | |
} | |
/* Widget NiceSelect */ | |
.widget .nice-select { | |
margin-bottom: 30px; | |
} |
Author
humayunahmed8
commented
Nov 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment