diff --git a/css/blog.scss b/css/blog.scss index e058a1f52b5..31463b8957d 100644 --- a/css/blog.scss +++ b/css/blog.scss @@ -196,11 +196,9 @@ h1, h2, h3, h4, h5{ margin-top: 60px; font-weight: 500; } - h2 + h3{ - margin-top: 30px; - } + h2 + h3, h3 + h4{ - margin-top: 20px; + margin-top: 30px; } blockquote{ h4{ diff --git a/css/docu.scss b/css/docu.scss index 2f9a394b30f..0e192d312c1 100644 --- a/css/docu.scss +++ b/css/docu.scss @@ -578,6 +578,7 @@ body.documentation{ border-radius: 5px; &:hover{ background: rgba(0, 0, 0, 0.06); + color: var(--doc-sidebar-text-unselected, #262626); } } } diff --git a/css/home.scss b/css/home.scss index 5e0ed99e697..787fbab19c8 100644 --- a/css/home.scss +++ b/css/home.scss @@ -143,14 +143,14 @@ body.landing{ } } .content{ - padding: 20px; + padding: 20px 40px; font-family: "JetBrainsMono-Regular"; font-size: 14px; position: relative; .lines{ position: absolute; top: 20px; - left: 12px; + left: 25px; color: var(--main-text-tertiary-color, #B2B2B2); font-size: 14px; line-height: 17px; @@ -176,7 +176,7 @@ body.landing{ margin: 0; } &.haslines{ - padding-left: 45px; + padding-left: 60px; } } .bottombar{ @@ -565,7 +565,7 @@ body.landing{ z-index: 1; } .window button.copy{ - right: 20px; + right: 40px; top: 15px; } } diff --git a/js/script.js b/js/script.js index fc076c0b718..ca293cccb63 100644 --- a/js/script.js +++ b/js/script.js @@ -65,12 +65,17 @@ $(document).ready(function(){ /** FILTER LINE */ - if ($('.filterbar').length !== 0) { + if ($('.filterbar').length !== 0) { + + /* CUSTOM FITROWS FUNCTION FOR ISOTOPE TO GET EQUAL HEIGHT TILES */ + !function(t){"use strict";function i(t){var i=t.create("fitRows");return i.prototype._resetLayout=function(){if(this.x=0,this.y=0,this.maxY=0,this.row=0,this.rows=[],this._getMeasurement("gutter","outerWidth"),this.options.equalheight)for(var t=0;to&&(this.x=0,this.y=this.maxY+i),0===this.x&&0!==this.y&&this.row++;var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=s+i,void 0===this.rows[this.row]?(this.rows[this.row]=[],this.rows[this.row].start=this.y,this.rows[this.row].end=this.maxY):this.rows[this.row].end=Math.max(this.rows[this.row].end,this.maxY),t.row=this.row,e},i.prototype._equalHeight=function(){for(var t=0;t'); }); -}); +}); \ No newline at end of file