Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW-TO] Brzydki hak na [code] box na forum.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Oct 10, 2009 10:30 am    Post subject: [HOW-TO] Brzydki hak na [code] box na forum. Reply with quote

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
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Sat Oct 10, 2009 10:41 am    Post subject: Reply with quote

Uzywam dokladnie tej wtyczki.... dziala wysmienicie... mysle ze przyda sie nie jednej osobie... osobiscie dziekuje i pozdrawiam! :P
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Zwierzak
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1012
Location: /dev/null

PostPosted: Thu Oct 22, 2009 11:35 am    Post subject: Reply with quote

Wolę Operę i wbudowane UserCSS
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Fri Oct 23, 2009 4:57 am    Post subject: Reply with quote

Paru ludzi woli Operę, oczywiście szanujemy ich.

SlashBeast, to zadziała z Greasemonkey?
_________________
powered by power plant
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Fri Oct 23, 2009 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Sat Oct 24, 2009 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Fri Aug 13, 2010 12:27 pm    Post subject: Reply with quote

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
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum