Skip to content

Commit

Permalink
8.1.1
Browse files Browse the repository at this point in the history
- Fixed rim not applying properly
  • Loading branch information
hrsetyono committed Nov 30, 2020
1 parent 827c496 commit d375266
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 73 deletions.
29 changes: 13 additions & 16 deletions assets/dist/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
--siteWidth: 1120px;
--blogWidth: 650px;
--gridGap: 20px;
--gridRim: 10px;
--gridRim: 1rem;
--tileGap: 20px;
--gRadius: 4px;
--gTransition: all .25s ease-in-out;
Expand Down Expand Up @@ -896,8 +896,6 @@ select {
.the-content {
letter-spacing: calc(0.01 * var(--fontSize));
overflow-wrap: break-word; }
.the-content > .alignfull.has-background:first-child {
margin-top: calc(-1 * var(--groupSpacing)); }
.the-content ul, .the-content ol {
padding-left: 1.25rem; }
.the-content h1, .the-content h2, .the-content h3, .the-content h4, .the-content h5, .the-content h6 {
Expand All @@ -915,7 +913,7 @@ select {
max-width: var(--blogWidth); }

@media (max-width: 1120px) {
.the-content,
body:not(.single-post) .the-content,
.has-background .wp-block-group__inner-container,
.wp-block-cover__inner-container {
padding-right: var(--gridRim);
Expand Down Expand Up @@ -1049,7 +1047,8 @@ select {
margin: 2.5rem auto;
padding: 0;
width: 120px;
line-height: 1; }
line-height: 1;
clear: both; }
.wp-block-separator.is-style-wide {
width: var(--siteWidth); }
.wp-block-separator.is-style-dots {
Expand Down Expand Up @@ -1160,8 +1159,8 @@ p.has-background {
margin-right: 0.25rem;
font-family: var(--hFontFamily);
font-weight: 700;
font-size: 3.5rem;
line-height: 3.5rem; }
font-size: 3.25rem;
line-height: 3.25rem; }

.has-small-font-size {
font-size: var(--smallFontSize); }
Expand Down Expand Up @@ -1240,7 +1239,8 @@ h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.h
margin-bottom: 0;
border-radius: var(--gRadius); }
.wp-block-gallery a {
height: 100%; }
height: 100%;
width: 100%; }
.wp-block-gallery .blocks-gallery-item__caption {
border-bottom: 0;
padding-bottom: 0;
Expand Down Expand Up @@ -1425,7 +1425,7 @@ ul.blocks-gallery-grid {
position: absolute;
top: 0;
width: 100px;
height: 4px;
height: 3px;
background-color: var(--text);
transform: translateX(-50%); }

Expand All @@ -1450,11 +1450,6 @@ ul.blocks-gallery-grid {
.wp-block-media-text.is-style-h-smaller-image {
--mediaColumn: 2fr;
--contentColumn: 3fr; }
@media (max-width: 1120px) {
.wp-block-media-text {
padding: 0;
margin-right: var(--gridRim);
margin-left: var(--gridRim); } }
@media (max-width: 768px) {
.wp-block-media-text {
--columnGap: 1rem; } }
Expand Down Expand Up @@ -1529,8 +1524,10 @@ ul.blocks-gallery-grid {

.wp-block-table.is-style-stripes {
--tableBg: rgbA(var(--textDimRGB), 0.05); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
background-color: white; }
.wp-block-table.is-style-stripes tbody {
background-color: transparent; }
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
background-color: var(--tableBg); }

.wp-block-table .has-fixed-layout {
width: 100%;
Expand Down
30 changes: 15 additions & 15 deletions assets/dist/my-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
--siteWidth: 1120px;
--blogWidth: 650px;
--gridGap: 20px;
--gridRim: 10px;
--gridRim: 1rem;
--tileGap: 20px;
--gRadius: 4px;
--gTransition: all .25s ease-in-out;
Expand Down Expand Up @@ -169,33 +169,33 @@ body.admin-bar {
font-weight: var(--fontWeight); }

.editor-post-title__block .editor-post-title__input,
.editor-styles-wrapper h1.wp-block,
.editor-styles-wrapper h2.wp-block,
.editor-styles-wrapper h3.wp-block,
.editor-styles-wrapper h4.wp-block,
.editor-styles-wrapper h5.wp-block,
.editor-styles-wrapper h6.wp-block,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
font-family: var(--hFontFamily);
font-weight: var(--hFontWeight);
text-transform: var(--hTextTransform); }

.editor-styles-wrapper h1.wp-block {
.editor-styles-wrapper h1 {
font-size: var(--h1Size); }

.editor-styles-wrapper h2.wp-block {
.editor-styles-wrapper h2 {
font-size: var(--h2Size); }

.editor-styles-wrapper h3.wp-block {
.editor-styles-wrapper h3 {
font-size: var(--h3Size); }

.editor-styles-wrapper h4.wp-block {
.editor-styles-wrapper h4 {
font-size: var(--h4Size); }

.editor-styles-wrapper h5.wp-block {
.editor-styles-wrapper h5 {
font-size: var(--h5Size); }

.editor-styles-wrapper h6.wp-block {
.editor-styles-wrapper h6 {
font-size: var(--h6Size); }

.wp-block-quote.has-text-align-center {
Expand Down Expand Up @@ -244,8 +244,8 @@ body.admin-bar {
--tableBg: rgbA(var(--greenRGB), 0.1);
--tableBorder: var(--green); }
.wp-block-table .has-subtle-pale-blue-background-color {
--tableHeader: rgbA(var(--blueRGB), 0.4);
--tableBg: rgbA(var(--blueRGB), 0.2);
--tableHeader: rgbA(var(--blueRGB), 0.2);
--tableBg: rgbA(var(--blueRGB), 0.1);
--tableBorder: var(--blue); }
.wp-block-table .has-subtle-pale-pink-background-color {
--tableHeader: rgbA(var(--redRGB), 0.2);
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/_css-vars-and-fonts.sass
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
--siteWidth : #{ $size-large }
--blogWidth : 650px
--gridGap : 20px
--gridRim : 10px
--gridRim : 1rem
--tileGap : 20px


Expand Down
8 changes: 3 additions & 5 deletions assets/sass/blocks/_core-static.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
letter-spacing: calc(0.01 * var(--fontSize))
overflow-wrap: break-word


> .alignfull.has-background:first-child
margin-top: calc(-1 * var(--groupSpacing))

ul, ol
padding-left: 1.25rem

Expand All @@ -36,7 +32,8 @@
margin: 0 auto
max-width: var(--blogWidth)

.the-content,
// Add rim to the side
body:not(.single-post) .the-content,
.has-background .wp-block-group__inner-container,
.wp-block-cover__inner-container
@media ($below-l)
Expand Down Expand Up @@ -215,6 +212,7 @@
padding: 0
width: 120px
line-height: 1
clear: both

&.is-style-wide
width: var(--siteWidth)
Expand Down
18 changes: 8 additions & 10 deletions assets/sass/blocks/_core.sass
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ p.has-background
margin-right: 0.25rem
font-family: var(--hFontFamily)
font-weight: 700
font-size: 3.5rem
line-height: 3.5rem
font-size: 3.25rem
line-height: 3.25rem

.has-small-font-size
font-size: var(--smallFontSize)
Expand Down Expand Up @@ -134,6 +134,7 @@ h1, h2, h3, h4, h5, h6

a
height: 100%
width: 100%

.blocks-gallery-item__caption
@extend %figcaption
Expand Down Expand Up @@ -349,7 +350,7 @@ ul.blocks-gallery-grid
position: absolute
top: 0
width: 100px
height: 4px
height: 3px
background-color: var(--text)
transform: translateX(-50%)

Expand Down Expand Up @@ -384,11 +385,6 @@ ul.blocks-gallery-grid
&.is-style-h-smaller-image
--mediaColumn: 2fr
--contentColumn: 3fr

@media ($below-l)
padding: 0
margin-right: var(--gridRim)
margin-left: var(--gridRim)

@media ($below-s)
--columnGap: 1rem
Expand Down Expand Up @@ -492,8 +488,10 @@ ul.blocks-gallery-grid
&.is-style-stripes
--tableBg: #{ rgba(--textDim, .05) }

tbody tr:nth-child(odd)
background-color: white
tbody
background-color: transparent
tbody tr:nth-child(even)
background-color: var(--tableBg)

.has-fixed-layout
width: 100%
Expand Down
46 changes: 21 additions & 25 deletions assets/sass/my-editor.sass
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,30 @@
font-weight: var(--fontWeight)

.editor-post-title__block .editor-post-title__input,
.editor-styles-wrapper h1.wp-block,
.editor-styles-wrapper h2.wp-block,
.editor-styles-wrapper h3.wp-block,
.editor-styles-wrapper h4.wp-block,
.editor-styles-wrapper h5.wp-block,
.editor-styles-wrapper h6.wp-block,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter
font-family: var(--hFontFamily)
font-weight: var(--hFontWeight)
text-transform: var(--hTextTransform)

.editor-styles-wrapper h1.wp-block
font-size: var(--h1Size)

.editor-styles-wrapper h2.wp-block
font-size: var(--h2Size)

.editor-styles-wrapper h3.wp-block
font-size: var(--h3Size)

.editor-styles-wrapper h4.wp-block
font-size: var(--h4Size)

.editor-styles-wrapper h5.wp-block
font-size: var(--h5Size)

.editor-styles-wrapper h6.wp-block
font-size: var(--h6Size)
.editor-styles-wrapper
h1
font-size: var(--h1Size)
h2
font-size: var(--h2Size)
h3
font-size: var(--h3Size)
h4
font-size: var(--h4Size)
h5
font-size: var(--h5Size)
h6
font-size: var(--h6Size)


///// QUOTE
Expand Down Expand Up @@ -112,8 +108,8 @@
--tableBorder: var(--green)

.has-subtle-pale-blue-background-color
--tableHeader: #{ rgba(--blue, .4) }
--tableBg: #{ rgba(--blue, .2) }
--tableHeader: #{ rgba(--blue, .2) }
--tableBg: #{ rgba(--blue, .1) }
--tableBorder: var(--blue)

.has-subtle-pale-pink-background-color
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: Edje Basic Theme
Author: Pixel Studio
Author URI: https://pixelstudio.id
Description: Base theme for EDJE framework - Built using Timber and ACF
Version: 8.1.0
Version: 8.2.0
Tags: private theme, timber, edje, acf, woocomemrce, custom-menu, editor-style
*/

Expand Down

0 comments on commit d375266

Please sign in to comment.