File: /home/zeusxp5/zenoxpressjobs.com/wp-content/themes/zxldfw-tcompanyllcMain/scss/_wp-default.scss
/* =Wordpress Core
-------------------------------------------------------------- */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
max-width: 100%;
height: auto;
}
.alignnone {
margin: 0;
display: inline-block;
vertical-align: middle;
}
.aligncenter {
display: block;
margin-right: auto;
margin-left: auto;
}
.alignright {
float:right;
margin-top: 0.25em;
margin-bottom: 0.5em;
margin-left: 1.5em;
@include bp($mobile) {
display: block;
float: none;
margin-top: 1em;
margin-right: auto;
margin-left: auto;
}
}
.alignleft {
float: left;
margin-top: 0.25em;
margin-right: 1.5em;
margin-bottom: 0.5em;
@include bp($mobile) {
display: block;
float: none;
margin-top: 1em;
margin-right: auto;
margin-left: auto;
}
}
.wp-caption {
max-width: 95%;
padding: 0.25em 0.25em 0.5em;
background: $base;
border: 1px solid shading($base, 10%);
font-style: italic;
font-size: 0.75em;
line-height: 1.5em;
text-align: center;
color: shading($base, 50%);
&.alignnone {
margin-top: 1em;
}
.aligncenter {
clear: both;
}
&.alignright {
margin-top: 1em;
}
&.alignleft {
margin-top: 1em;
}
img {
width: auto;
height: auto;
margin: 0;
padding: 0;
border: none;
}
p.wp-caption-text {
margin: 0;
padding: 0 0.25em;
}
}
/* Author Information Block */
.author-info {
width: 100%;
display: table;
margin-top: 1.5em;
padding-top: 1.5em;
border-top: 1px solid shading($base, 10%);
.author-avatar {
display: table-cell;
vertical-align: top;
img {
@include border-radius(3px);
@include box-shadow(0 1px 5px 0 rgba(#000000, 0.2));
}
}
.author-description {
display: table-cell;
vertical-align: top;
padding-left: 2em;
line-height: 1.5em;
color: shading($base, 50%);
}
.author.archive & {
margin-bottom: 1.5em;
padding-bottom: 1.5em;
border-top: none;
border-bottom: 1px solid shading($base, 10%);
}
}
/* 404 Error Page */
body.error404 {
.search-form {
margin-top: 1.5em;
input {
width: 50%;
@include bp(480px) {
width: 100%;
}
}
}
}
/* Page Layout */
.site-content {
position: relative;
body.sidebar & {
width: $primary-width;
float: left;
@include bp($mobile) {
width: 100%;
float: none;
}
}
}
.widget-area {
padding: 0 0 1.5em;
width: $sidebar-width;
float: right;
@include bp($mobile) {
width: 100%;
float: none;
margin-top: 1em;
}
}
.entry-header {
margin-bottom: 1.5em;
@include bp($mobile) {
width: 100%;
display: table;
}
img.wp-post-image {
max-width: 50%;
float: right;
margin-top: 0.25em;
margin-bottom: 0.5em;
margin-left: 1.5em;
@include bp($mobile) {
max-width: 100%;
display: table-footer-group;
float: none;
margin: 0.5em auto;
}
}
h1, h2 {
margin-top: 0.25em;
@include bp($mobile) {
display: table-header-group;
}
}
.comments-link {
font-size: 0.75em;
color: shading($base, 50%);
}
}
.archive-header, .page-header {
padding-bottom: 1.5em;
border-bottom: 1px solid shading($base, 10%);
}
.post {
margin-top: 1.5em;
padding-bottom: 1.5em;
border-bottom: 4px double shading($base, 10%);
&:first-child {
margin-top: 0;
}
&:last-child {
border-bottom: none;
}
&.sticky {
border: 1px solid shading($base, 10%);
.featured-post {
margin-bottom: 1.5em;
background: rgba(#000000, 0.035);
border-top: 4px double shading($base, 10%);
border-bottom:4px double shading($base, 10%);
font-size: 0.75em;
color: shading($base, 50%);
text-align: center;
}
.entry-header, .entry-content, .entry-meta {
padding: 1em;
}
}
}
.entry-meta {
margin-top: 2em;
font-size: 0.75em;
color: shading($base, 50%);
.edit-link a {
display: table; /* CSS hack to line break inline-block elements */
text-decoration: none;
}
}
.entry-meta, .page-links {
clear: both;
}
nav.blog-navigation,
nav.nav-single {
@extend .cf;
padding: 1em 0;
body.neverending & {
display: none;
}
.nav-previous {
float: left;
}
.nav-next {
float: right;
}
}
/* Attachment Styles */
.image-attachment .attachment {
text-align: center;
.entry-caption {
margin-top: 0.25em;
}
}
.mejs-audio {
max-width: 95%;
margin: auto;
}
/* Comment Styles */
.comments-title {
font-size: 1.5em;
}
.commentlist {
margin: 1em;
padding: 0.5em 1em;
border: 1px solid shading($base, 10%);
.comment {
.comment {
margin-top: 1.5em;
padding-top: 0;
padding-left: 2.5em;
border-left: 1px dashed shading($base, 10%);
}
+ .comment {
margin-top: 0;
padding-top: 1.5em;
}
.comment-author {
img {
float: left;
margin-top: 0.4em;
margin-right: 0.5em;
}
cite {
font-style: normal;
font-weight: 600;
}
.says {
display: none;
}
}
.comment-meta {
font-size: 0.75em;
+ * {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px solid shading($base, 10%);
clear: both;
}
}
}
}
#comment-nav {
margin: 0 1em;
}
.comment-respond {
margin: 1em 0;
padding: 0.5em 1em;
border: 1px solid shading($base, 10%);
label {
display: block;
}
input[type="text"], textarea {
width: 100%;
padding: 0.75em;
font-size: 0.75em;
}
.required {
display: inline-block;
vertical-align: top;
color: red;
}
}
/* Widget Styles */
.widget-area .widget {
margin-top: 1.5em;
padding: 0.75em;
&:first-child {
margin-top: 0;
}
.widget-title {
border-bottom: .1em solid $accent1;
margin-bottom: .25em;
font-weight: normal;
font-size: 1.25em;
}
ul {
margin: 0;
padding: 0;
list-style: none;
li {
padding: .25em 0;
&:last-child {
padding-bottom: 0;
}
}
}
input,
select {
max-width: 100%;
}
&.widget_search {
input {
width: 100%;
padding: 0.5em;
border: 1px solid shading($base, 10%);
font-family: inherit;
}
}
&.widget_rss {
li {
margin-top: 1em;
}
}
&.widget_calendar {
table {
border-collapse: collapse;
text-align: center;
margin: 0;
}
caption {
font-weight: 700;
font-size: 1.25em;
margin: 0;
color: $accent1;
font-weight: normal;
}
th {
font-weight: 600;
}
thead tr {
text-align: center;
a {
text-decoration: underline;
font-weight: bold;
&:hover {
text-decoration: none;
}
}
}
}
.post-date, .rss-date {
margin-left: 0.5em;
font-size: 0.75em;
color: shading($base, 50%);
}
}
/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
width: 1px;
height: 1px;
position: absolute !important;
overflow: hidden;
&:focus {
clip: auto !important;
width: auto;
height: auto;
display: block;
top: 5px;
left: 5px;
z-index: 100000; /* Above WP toolbar. */
padding: 15px 23px 14px;
background-color: #f1f1f1;
@include border-radius(3px);
@include box-shadow(0 0 2px 2px rgba(0, 0, 0, 0.6));
font-weight: bold;
font-size: 14px;
font-size: 0.875rem;
line-height: normal;
color: #21759b;
text-decoration: none;
}
}
.assistive-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
}
/* =Gallery
----------------------------------------------- */
div[id^="gallery"].gallery {
@extend .cf;
margin: 1.8em 0;
dl.gallery-item {
margin: 0;
padding: 0 10px;
}
&[class*="gallery-columns"]:not(.gallery-columns-1):not(.gallery-columns-2):not(.gallery-columns-3) dl.gallery-item {
@include bp(768px) {
width: 25% !important;
&:nth-of-type(4n+1) {
clear: left;
}
}
@include bp(500px) {
width: 33% !important;
&:nth-of-type(4n+1) {
clear: none;
}
&:nth-of-type(3n+1) {
clear: left;
}
}
@include bp(320px) {
width: 100% !important;
float: none;
clear: none;
}
}
&[class*="gallery-columns"].gallery-columns-2 dl.gallery-item,
&[class*="gallery-columns"].gallery-columns-3 dl.gallery-item{
@include bp(320px) {
width: 100% !important;
float: none;
}
}
@include bp(768px) {
br {
display: none;
}
}
}
/* =Print
----------------------------------------------- */
@media print {
body {
background: none !important;
font-size: 10pt;
color: #000000;
}
a {
text-decoration: inherit;
footer &[rel=bookmark]:after {
content: " [" attr(href) "] ";
}
}
.author-info .author-avatar,
.comment-respond,
.commentlist .comment-edit-link,
.commentlist .reply,
.entry-header .comments-link,
.entry-meta .edit-link a,
.page-link {
display: none;
}
.author-info .author-description {
padding-left: 0;
}
.comment-author img {
max-width: 30px;
height: auto;
}
}