View previous topic :: View next topic |
Author |
Message |
SlashBeast Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/14227932946af20272aa68.jpg)
Joined: 23 May 2006 Posts: 2922
|
Posted: Sat Oct 10, 2009 10:30 am Post subject: [HOW-TO] Brzydki hak na [code] box na forum. |
|
|
Od zawsze denerwowalo mnie na tym forum to, ze box z kodem nie jest scrollowany, jak ktos wkleja config kernela albo xorg.conf szlag mnie trafial ze scrollowaniem tego. Zrobilem maly hak na to, wystarczy ponizej wklejony css wrzucic w np. wtyczke stylish do firefoksa.
Code: | @namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forums.gentoo.org") {
td.code {
display: block;
overflow: auto;
max-height: 200px;
}
} |
Jak komus chce sie pisac cos sensowniejszego, wklejcie, to co ja daje jest na szybko, ale dziala. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Belliash Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1944380597442f93fcbd793.png)
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sat Oct 10, 2009 10:41 am Post subject: |
|
|
Uzywam dokladnie tej wtyczki.... dziala wysmienicie... mysle ze przyda sie nie jednej osobie... osobiscie dziekuje i pozdrawiam! ![Razz :P](images/smiles/icon_razz.gif) _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zwierzak Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1426311311457d6787967bf.gif)
Joined: 19 Sep 2003 Posts: 1012 Location: /dev/null
|
Posted: Thu Oct 22, 2009 11:35 am Post subject: |
|
|
Wolę Operę i wbudowane UserCSS |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BeteNoire Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Sep 2005 Posts: 1827
|
Posted: Fri Oct 23, 2009 4:57 am Post subject: |
|
|
Paru ludzi woli Operę, oczywiście szanujemy ich.
SlashBeast, to zadziała z Greasemonkey? _________________ powered by power plant |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SlashBeast Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/14227932946af20272aa68.jpg)
Joined: 23 May 2006 Posts: 2922
|
Posted: Fri Oct 23, 2009 9:05 am Post subject: |
|
|
BeteNoire wrote: | Paru ludzi woli Operę, oczywiście szanujemy ich.
SlashBeast, to zadziała z Greasemonkey? |
Greasemonkey jest do javascripta a to co dalem jest na CSSa, nie sadze by w Greasemonkeyu to dzialalo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Poe Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/208014386049203ad1bae13.jpg)
Joined: 03 Apr 2004 Posts: 2155 Location: Mysłowice/Lublin, Poland
|
Posted: Sat Oct 24, 2009 8:31 am Post subject: |
|
|
Baaardzo fajna rzecz aż przyklei się w OTW.
dzięki. _________________ Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jacekalex Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/11038685525c448efbd88dd.jpg)
Joined: 17 Sep 2009 Posts: 554
|
Posted: Fri Aug 13, 2010 12:27 pm Post subject: |
|
|
Pozwoliłem sobie "dobudować" identyczne rozwiązanie na przydługie cytaty:
Code: | @namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forums.gentoo.org") {
td.quote {
display: block;
overflow: auto;
max-height: 300px;
} |
Pozdrawiam
![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|