Created
July 2, 2011 17:33
-
-
Save kk6/1061418 to your computer and use it in GitHub Desktop.
Googleのナビゲーションバーを固定するユーザースタイル
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
@namespace url(http://www.w3.org/1999/xhtml); | |
/* | |
* Google User Style | |
* This style is to fixed of Google's top bar. | |
*/ | |
@-moz-document domain("google.com"), domain("google.co.jp") { | |
#gb { | |
position: fixed; | |
width: 100%; | |
top: -1px; | |
left: -1px; | |
} | |
#gbx3, #gbx4 { | |
opacity: 0.5 !important; | |
box-shadow: 1px 1px 3px; | |
} | |
} | |
@-moz-document domain("plus.google.com") { | |
.a-U-T { | |
padding-top: 30px; | |
} | |
/* Account Settings page */ | |
.Sa-E-U-T { | |
padding-top: 30px; | |
} | |
.a-c-M-wd-rc, .a-H-Xc-U { | |
margin-top: 30px !important; | |
} | |
} | |
@-moz-document domain("www.google.com"), domain("www.google.co.jp") { | |
#subform_ctrl, .ksfccl { | |
margin-top: 30px !important; | |
} | |
} | |
@-moz-document domain("images.google.com"), domain("images.google.co.jp") { | |
#cnt { | |
margin-top: 30px !important; | |
} | |
} | |
@-moz-document url-prefix(http://www.google.com/reader), | |
url-prefix(https://www.google.com/reader), | |
url-prefix(http://www.google.co.jp/reader), | |
url-prefix(https://www.google.co.jp/reader) { | |
#top-bar { | |
margin-top: 40px !important; | |
} | |
} | |
@-moz-document domain("mail.google.com") { | |
body.cP div:nth-child(1) .nH:nth-child(1) | |
.nH:nth-child(1) .no:nth-child(1) { | |
margin-top: 30px; | |
} | |
.hMFEHf { | |
margin-top: 30px !important; | |
} | |
.mq { | |
display: none; | |
} | |
} | |
@-moz-document domain("maps.google.com"), domain("maps.google.co.jp") { | |
#header { | |
padding-top: 30px !important; | |
} | |
div.kd-buttonbar.header-buttons { | |
margin-top: 30px !important; | |
} | |
} | |
@-moz-document url-prefix(https://www.google.com/calendar/) { | |
#mb0, #mb1 { | |
margin-top: 0 !important; | |
padding-top: 40px !important; | |
} | |
#calcontent { | |
padding-top: 30px !important; | |
} | |
} | |
@-moz-document domain("docs.google.com") { | |
#doclistappview-header { | |
padding-top: 30px !important; | |
} | |
} | |
@-moz-document domain("sites.google.com") { | |
#sites-chrome-header { | |
padding-top: 30px !important; | |
} | |
} | |
@-moz-document domain("groups.google.com"){ | |
body { | |
margin: 0 !important; | |
} | |
center:nth-child(1) { | |
padding-top: 40px !important; | |
} | |
} | |
@-moz-document domain("picasaweb.google.com") { | |
.gphoto-topnav { | |
margin: 30px 0 0 0 !important; | |
} | |
} | |
@-moz-document url-prefix(http://www.google.co.jp/ig), | |
url-prefix(http://www.google.com/ig) { | |
#nhdrwrap { | |
padding-top: 30px !important; | |
} | |
} | |
@-moz-document domain("blogsearch.google.com"), domain("blogsearch.google.co.jp") { | |
body { | |
margin: 0 !important; | |
} | |
center:nth-child(2) { | |
padding-top: 40px !important; | |
} | |
} | |
@-moz-document domain("books.google.com"), domain("books.google.co.jp") { | |
#gb-top-search-box { | |
padding-top: 30px !important; | |
} | |
} | |
@-moz-document domain("encrypted.google.com") { | |
#rcnt { | |
margin-top: 30px !important; | |
} | |
} |
plus.google.com でプロフィール編集時に出てくる、背景の赤いdiv要素がスクロール時にナビゲーションバーに隠れてしまうのを修正…しきれなかったのでとりあえず応急処置。あとで直す。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
googleリーダーがhttpsだった時の記述が漏れてたのを修正