以åç´¹ä»ããFirefoxã®userContent.cssï¼ã¦ã¼ã¶ã¼ã¹ã¿ã¤ã«ã·ã¼ãï¼ãç·¨éããã¨ãGoogleã«ã¬ã³ãã¼ã§ä¸ã¶æ表示ãããã¨ãã®åã»æ¥ã®æåè²ãå¤æ´ãããã¨ãã§ãã¾ãã以ä¸ã¯ãã®æ¹æ³ã§ãã
ã¾ãã¯ä»¥ä¸ã®ãã©ã«ããéãã¾ãã
Windows 95/98/Meã®å ´åã¯
C:\Windows\Application Data\Mozilla\Firefox\Profiles\ï¼è±æ°åï¼.default\chrome\
Windows 2000/XPã®å ´åã¯
C:\Documents and Settings\(ã¦ã¼ã¶ã¼å)\Application Data\Mozilla\Firefox\Profiles\ï¼è±æ°åï¼.default\chrome\
ãã®å ´æã«ããuserContent-example.cssãè¤è£½ãã¦ï¼åãã¦userContent.cssãç·¨éããå ´åï¼ãuserContent.cssã¨ãããã¡ã¤ã«ä½ãã¾ãã
userContent.cssãããã¹ãã¨ãã£ã¿ã§éããæ¥ç¶æ¹æ³ã«å¿ãã¦ä»¥ä¸ã®ã©ã¡ããã®è¨è¿°ã追å ãã¾ããCSSã«ã¤ãã¦ç¥èã®ããæ¹ã¯ãã©ã¡ãã®å ´åãå¿ è¦ãªç®æã ã追å ãã¦ããã£ã¦ãããã§ãã
ã¾ãã¯SSLéä¿¡ãªã(http://www.google.com/calendar/)ã§æ¥ç¶ãã¦ããå ´å
@-moz-document url-prefix(http://www.google.com/calendar/) { #dh0,#dh7,#dh14,#dh21,#dh28,#dh35 { color: #f00 ; } #dh6,#dh13,#dh20,#dh27,#dh34,#dh41 { color: #00f ; } }
ããã¦SSLéä¿¡ã§(https://www.google.com/calendar/)ã§æ¥ç¶ãã¦ããå ´å
@-moz-document url-prefix(https://www.google.com/calendar/) { #dh0,#dh7,#dh14,#dh21,#dh28,#dh35 { color: #f00 ; } #dh6,#dh13,#dh20,#dh27,#dh34,#dh41 { color: #00f ; } }
èªåãã©ã¡ãã®æ¥ç¶æ¹æ³ã使ã£ã¦ããããã¨ãããã¨ã¯ãã©ã¦ã¶ã¼ã®URLæ¬ãè¦ãã°åããã¨æãã¾ããæå¾ã«ããã¹ãã¨ãã£ã¿ãéãã¦Firefoxãèµ·åï¼åèµ·åï¼ãã¾ãã
ãã¦ãã©ãã§ããããï¼ãã¾ãè²ãä»ãã¾ãããï¼å·¦ã®ç»åã¯ç§ã®ã«ã¬ã³ãã¼è¡¨ç¤ºã§ããï¼ã¯ãªãã¯ããã¨å¥ã¦ã¤ã³ãã¦ã§è¡¨ç¤ºããã¾ãï¼ãå ¨ä½ã®æåãµã¤ãºã80%ã«ç¸®å°ãæ¥ä»é¨åã太åã«ãã¦ãããã«å¹³æ¥ã®æ¥ä»ã®è²ãé»ã«è¨å®ãã¦ãã¾ãã以ä¸ã«ãã®è¨è¿°æ¹æ³ãè²¼ã£ã¦ããã¾ãã®ã§åèã«ãã¦ã¿ã¦ãã ããã
@-moz-document url-prefix(https://www.google.com/calendar/) { body { font-size: 80% !important ; } .dayOfMonth { color: #000 !important ; font-weight: bold ; } #dh0,#dh7,#dh14,#dh21,#dh28,#dh35 { color: #f00 ; } #dh6,#dh13,#dh20,#dh27,#dh34,#dh41 { color: #00f ; } }
å®ã®ã¨ãããè±èªçã§å ¬éãããã¨ãããåã»æ¥ã®è¡¨ç¤ºããã£ã¨åãããããã§ããªãããªã¼ï¼ã¨æã£ã¦ããã§ããããããªãµãã«èããã®ã¯ç§ã ããªã®ããªï¼ã§ããã°æ¥ä»ã®èæ¯è²ãå¤ãããã£ããã§ãããCSSã§ã®æå®ãã§ãããã«ãªãã®ã§æåè²ã®å¤æ´ã§å¯¾å¿ãã¦ã¿ã¾ããããå½¹ã«ç«ã¦ã°å¹¸ãã§ãã
é±ã®å§ã¾ããæææ¥ã«è¨å®ãã¦ããå ´åã¯
ä¸é±éã®å§ã¾ããæææ¥ã«è¨å®ãã¦ããå ´åã¯ãæåã®è²ããºã¬ã¦ãã¾ãã¾ãããã®å ´åã¯ä»¥ä¸ã®ããã«æ¸ãæãã¦ãã ããã
@-moz-document url-prefix(https://www.google.com/calendar/) { #dh5,#dh12,#dh19,#dh26,#dh33,#dh40 { color: #00f ; } #dh6,#dh13,#dh20,#dh27,#dh34,#dh41 { color: #f00 ; } }
ãã®ãããç°¡åã«èª¬æãã¾ãã¨ã#dh5ã¨ã#dh12ã¨ããã®ã¯ã«ã¬ã³ãã¼ã®æ¥ä»ã®æ°åé¨åãæãã¦ãã¾ããä¸çªå·¦ä¸ã®æ¥ä»ã®æ°åã#dh0ã§ããã®å³é£ã#dh1ã¨ãã£ãå ·åããªã®ã§#dh6ã¯ä¸çªå³ä¸ã®æ°åãã¤ã¾ãææå§ã¾ãã®å ´åã¯ç¬¬ä¸æ¥ææ¥ã®æ°åã¨ãããã¨ã«ãªãã¾ããã§ã"color: #f00"ã¨ããcssã§ãã®æåè²ã赤ã«è¨å®ãã¦ããããã§ããã
追è¨
鷹の島ããã§æ±ºå®çã¨æãããã¦ã¼ã¶ã¼ã¹ã¿ã¤ã«ã·ã¼ããå ¬éããã¾ãããç§ã®ããã«æ¥ä»ã®æ°åã®å·¦å´ã«ãããã表示ããã¦ãå ´åã§ããèæ¯ã«ãã£ããè²ãä»ãã¾ããå·¦ã®ç»åãã¯ãªãã¯ãã¦ã覧ãã ãããé·¹ã®å³¶ããã«æè¬ï¼ï¼
ããã«è¿½è¨
id:marginãããããã«ç°¡æ½ã«ã¾ã¨ãã¦ããã¾ãããç´ æ´ãããï¼ï¼id:marginããã«æè¬ï¼ï¼ããããhttpã¨httpsã®ä¸¡æ¹ã«é©ç¨ããå ´åã¯ã以ä¸ã®ããã«æ¸ãã¨ã¾ã¨ãã¦æå®ã§ããã£ã½ãã
@-moz-document url-prefix("http://www.google.com/calendar/"), url-prefix("https://www.google.com/calendar/") {
åå¼·ã«ãªãã¾ããï¼
Marginal Leaves - Googleカレンダーの土日の色 その2