This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix images overflowing parent * Update version
- Loading branch information
Showing
4 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.0 | ||
1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters