Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
1.3.0 (#3)
Browse files Browse the repository at this point in the history
* Fix images overflowing parent

* Update version
  • Loading branch information
Snazzie authored Jul 1, 2020
1 parent afa76ec commit bb26b8a
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 1 deletion.
145 changes: 145 additions & 0 deletions Generated/githubTest.user.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/* ==UserStyle==
@name Test-GoogleCentered();
@namespace github.com/DarkThemeHub/GoogleDarkTheme
@version 1.3.0
@description Google Search Engine Centered For Big Screens.
@author DarkThemeHub
@homepageURL https://github.com/DarkThemeHub/GoogleCentered
@supportURL https://github.com/DarkThemeHub/GoogleCentered/issues
@updateURL https://raw.githubusercontent.com/DarkThemeHub/GoogleCentered/master/Generated/github.user.styl
==/UserStyle== */

@-moz-document regexp("^https?:\/\/www\.google((\..{1,3}){1,2})\/(search\?)(?!flights|maps)(?!.*&tbm=(shop|fin|lcl)&).*") {
html {
margin: auto; }

.islrc {
width: auto !important; }

/* center page */
@media only screen and (max-width: 12000px) and (min-width: 3200px) {
html {
max-width: 50%; }
#searchform {
width: 50vw; } }

@media only screen and (max-width: 3200px) and (min-width: 3100px) {
html {
max-width: 50%; }
#searchform {
width: 50vw; } }

@media only screen and (max-width: 3100px) and (min-width: 3000px) {
html {
max-width: 51.25%; }
#searchform {
width: 51.25vw; } }

@media only screen and (max-width: 3000px) and (min-width: 2900px) {
html {
max-width: 52.5%; }
#searchform {
width: 52.5vw; } }

@media only screen and (max-width: 2900px) and (min-width: 2800px) {
html {
max-width: 53.75%; }
#searchform {
width: 53.75vw; } }

@media only screen and (max-width: 2800px) and (min-width: 2700px) {
html {
max-width: 55%; }
#searchform {
width: 55vw; } }

@media only screen and (max-width: 2700px) and (min-width: 2600px) {
html {
max-width: 56.25%; }
#searchform {
width: 56.25vw; } }

@media only screen and (max-width: 2600px) and (min-width: 2500px) {
html {
max-width: 57.5%; }
#searchform {
width: 57.5vw; } }

@media only screen and (max-width: 2500px) and (min-width: 2400px) {
html {
max-width: 58.75%; }
#searchform {
width: 58.75vw; } }

@media only screen and (max-width: 2400px) and (min-width: 2300px) {
html {
max-width: 60%; }
#searchform {
width: 60vw; } }

@media only screen and (max-width: 2300px) and (min-width: 2200px) {
html {
max-width: 61.25%; }
#searchform {
width: 61.25vw; } }

@media only screen and (max-width: 2200px) and (min-width: 2100px) {
html {
max-width: 62.5%; }
#searchform {
width: 62.5vw; } }

@media only screen and (max-width: 2100px) and (min-width: 2000px) {
html {
max-width: 63.75%; }
#searchform {
width: 63.75vw; } }

@media only screen and (max-width: 2000px) and (min-width: 1900px) {
html {
max-width: 80%; }
#searchform {
width: 80vw; } }

@media only screen and (max-width: 1900px) and (min-width: 1800px) {
html {
max-width: 80%; }
#searchform {
width: 80vw; } }

@media only screen and (max-width: 1800px) and (min-width: 1700px) {
html {
max-width: 80%; }
#searchform {
width: 80vw; } }

@media only screen and (max-width: 1700px) and (min-width: 1600px) {
html {
max-width: 80%; }
#searchform {
width: 80vw; } }

@media only screen and (max-width: 12000px) and (min-width: 1700px) {
#cnt {
width: 100%;
margin: auto; }
.mw {
width: 100%;
max-width: unset !important;
margin: auto; }
#bcenter {
width: 0px; }
div#rcnt {
width: 100%;
display: grid;
grid-template-columns: auto 55% 0 35% auto; }
div#rhs {
margin: unset !important;
width: 100%; }
#center_col {
width: 100%;
margin: unset !important; }
.kno-ftr {
margin-right: 0px; } }

}
2 changes: 1 addition & 1 deletion Scripts/Version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.3.0
3 changes: 3 additions & 0 deletions ScssOutput/Theme.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
html {
margin: auto; }

.islrc {
width: auto !important; }

/* center page */
@media only screen and (max-width: 12000px) and (min-width: 3200px) {
html {
Expand Down
4 changes: 4 additions & 0 deletions Theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ html {
margin: auto;
}

.islrc {
width: auto !important;
}

@function getValInRange($min, $max, $t-param) {
$val: (($t-param - 0) / (1 - 0) * ($max - $min)) + $min;
@return $val;
Expand Down

0 comments on commit bb26b8a

Please sign in to comment.