First Commit
This commit is contained in:
commit
feb864dc47
170 changed files with 4671 additions and 0 deletions
154
hackatonApp/scss/wordpress/post.styles.scss
Normal file
154
hackatonApp/scss/wordpress/post.styles.scss
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
@each $font-size in $font-size-list {
|
||||
$i: index($font-size-list, $font-size);
|
||||
.post-size-#{$font-size}
|
||||
{
|
||||
.post-view .post-text
|
||||
{
|
||||
font-size: $font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-view
|
||||
{
|
||||
.post-heading
|
||||
{
|
||||
padding-bottom:0px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.post-content
|
||||
{
|
||||
border-color: transparent;
|
||||
|
||||
// Audio fix
|
||||
.wp-audio-shortcode
|
||||
{
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.post-text
|
||||
{
|
||||
*
|
||||
{
|
||||
font-size: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Fix audio tag not displaying to 100% on ios
|
||||
audio::-webkit-media-controls-panel
|
||||
{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
margin: 10px 0px;
|
||||
height: auto;
|
||||
@include calc(width, "100% + #{($sides-padding*2)}");
|
||||
margin-left: - $sides-padding;
|
||||
}
|
||||
|
||||
ul, ol
|
||||
{
|
||||
list-style-type: square;
|
||||
padding: 0 0 0 40px;
|
||||
margin: 14px 0px;
|
||||
}
|
||||
|
||||
iframe
|
||||
{
|
||||
margin: 10px 0px;
|
||||
@include calc(width, "100% + #{($sides-padding*2)}");
|
||||
margin-left: - $sides-padding;
|
||||
}
|
||||
|
||||
blockquote
|
||||
{
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
margin: 20px 20px;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
|
||||
p
|
||||
{
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-tags
|
||||
{
|
||||
border-color: transparent;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 5px;
|
||||
|
||||
.post-tag
|
||||
{
|
||||
padding: 0 3px;
|
||||
min-height: 24px;
|
||||
font-size: 12px;
|
||||
line-height: 24px;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.post-tag:last-child
|
||||
{
|
||||
margin-right:0px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-footer
|
||||
{
|
||||
padding:0px;
|
||||
background-color: darken($post-footer-bg, 10%);
|
||||
|
||||
.row,
|
||||
.col
|
||||
{
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.col.col-20
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ion-plus
|
||||
{
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.ion-plus:before
|
||||
{
|
||||
font-size: 20px !important;
|
||||
line-height: 15px !important;
|
||||
}
|
||||
|
||||
.ion-minus
|
||||
{
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.ion-minus:before
|
||||
{
|
||||
font-size: 14px !important;
|
||||
line-height: 20px !important;
|
||||
margin-left: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-title
|
||||
{
|
||||
font-size: 24px;
|
||||
margin-bottom: 4px;
|
||||
color: $post-footer-bg;
|
||||
}
|
||||
|
||||
.post-author
|
||||
{
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
127
hackatonApp/scss/wordpress/wordpress.styles.scss
Normal file
127
hackatonApp/scss/wordpress/wordpress.styles.scss
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
.wordpress-view
|
||||
{
|
||||
background-color: $content-bg !important;
|
||||
vertical-align:middle;
|
||||
|
||||
.post-heading
|
||||
{
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
background-color: darken($wordpress-heading-color, 10%);
|
||||
border-color: #000;
|
||||
|
||||
.post-title
|
||||
{
|
||||
color: $wordpress-title-color;
|
||||
}
|
||||
|
||||
.post-author
|
||||
{
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.post-content
|
||||
{
|
||||
padding-top: 8px;
|
||||
padding-bottom: 0px;
|
||||
|
||||
.post-excerpt
|
||||
{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@include display(flex);
|
||||
@include flex-direction(column);
|
||||
line-height: $post-font-size + 4; /* fallback */
|
||||
font-size: $post-font-size; /* fallback */
|
||||
|
||||
*
|
||||
{
|
||||
font-size: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Audio fix
|
||||
.wp-audio-shortcode
|
||||
{
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
// Fix audio tag not displaying to 100% on ios
|
||||
audio::-webkit-media-controls-panel
|
||||
{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
margin: 10px 0px;
|
||||
height: auto;
|
||||
@include calc(width, "100% + #{($sides-padding*2)}");
|
||||
margin-left: - $sides-padding;
|
||||
}
|
||||
|
||||
ul, ol
|
||||
{
|
||||
list-style-type: square;
|
||||
padding: 0 0 0 40px;
|
||||
margin: 14px 0px;
|
||||
}
|
||||
|
||||
iframe
|
||||
{
|
||||
margin: 10px 0px;
|
||||
height: auto;
|
||||
@include calc(width, "100% + #{($sides-padding*2)}");
|
||||
margin-left: - $sides-padding;
|
||||
}
|
||||
|
||||
blockquote
|
||||
{
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
margin: 20px 20px;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
|
||||
p
|
||||
{
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-actions
|
||||
{
|
||||
padding: 10px 0px;
|
||||
|
||||
.col
|
||||
{
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.bookmark
|
||||
{
|
||||
.ion-bookmark
|
||||
{
|
||||
min-height: initial;
|
||||
line-height: 28px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.ion-bookmark:before
|
||||
{
|
||||
font-size: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.read-more
|
||||
{
|
||||
.button
|
||||
{
|
||||
margin:0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
hackatonApp/scss/wordpress/wordpress.variables.scss
Normal file
7
hackatonApp/scss/wordpress/wordpress.variables.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
$post-font-size: 14px;
|
||||
$sides-padding: 16px;
|
||||
$font-size-list: 12px 14px 16px 18px 20px 22px 24px;
|
||||
$read-more-color: $theme-color-2;
|
||||
$wordpress-heading-color: $theme-color-3;
|
||||
$wordpress-title-color: #FFFFFF;
|
||||
$post-footer-bg: $theme-color-3;
|
||||
Loading…
Add table
Add a link
Reference in a new issue