Witamy, Gość. Zaloguj się lub zarejestruj.
Czy dotarł do Ciebie email aktywacyjny?


Zaloguj się podając nazwę użytkownika, hasło i długość sesji

Strony: [1]
DrukujPobierz PDF
Autor Wątek: CSS - gimpuj.info  (Przeczytany 1571 razy)
0 użytkowników i 1 Gość przegląda ten wątek.
Joten8
Użytkownik

Reputacja: 1 Offline Offline

Płeć: Mężczyzna
GIMP: 2.6 + GAP
Licencja: CC-NC-BY-SA
Wiadomości: 184
Galeria Użytkownika

Joten8

Nie ma mnie... Przerzucam się na PS'a.


Zobacz profil
« : 24.05.2009, 17:32:25 »

Główny styl CSS strony (jest jeszcze print do drukowania).
Uwagi przetłumaczone na polski by Joten8. Znajdują sie one między /* i */, a dotyczą znacznika niżej.
Oryginał na http://www.gimpuj.info/Themes/lime/style.css
Kod:
/* No image should have a border when linked */
a img{
border: 0;
}
/* Cytaty, najczęściej z innych postów. */
.quote
{
color: #000000;
background-color: #D7DAEC;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}

/* Blok kodu, może nawet PHP. */
.code
{
color: #000000;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
/* font-size: x-small;*/
font-size: 100%;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px solid #000000;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}

/* Nagłówki cytatów i kodów. */
.quoteheader, .codeheader
{
color: #000000;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}

/* Generalnie taka [?] ikona. To zmienia twój kursor w ikonę pomocy. */
.help
{
cursor: help;
}

/* /me tak jak w IRC. (spróbuj wpisać /me w poście) */
.meaction
{
color: red;
}

/* Mój post. To sprawia, że jak szeroki jak to tylko możliwe. */
.editor
{
width: 96%;
}

/* Podświetlony tekst, jako wyniki wyszukiwania. */
.highlight
{
background-color: yellow;
font-weight: bold;
color: black;
}

/* Tło dla postów i innych cześci forum. */
.windowbg, tr.windowbg td
{
padding: 1ex;
background: #3C3E3E;
border-bottom: 1px solid #3C3E3E;
}
.windowbg2,tr.windowbg2 td
{
padding: 1ex;
background: #494D4D;
border-bottom: 1px solid #3C3E3E;
}
.windowbg3,tr.windowbg3 td
{
padding: 1ex;
background: #494D4D;
}
/* Dzisiejszy dzień w kalendarzu. */
.calendar_today
{
}

td.windowbg img, td.windowbg2 img
{
margin-right: 0ex;
}
/* Użyte przeważnie do tytułów.  */
table.nopad .titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
font-size: 100%;
font-weight: bold;
padding: 4px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
}

.titlebg a:hover
{
}
/* To samo co titlebg, lecz użyte gdzie pogrubiony tekst jest niepotrzebny. */
.titlebg2 a:link, .titlebg2 a:visited
{
}

.titlebg2 a:hover
{
}
.titlebg, .titlebg2{
background: #303231;
}
/* Użyte do tabel, głównie w liście tematów. */
.bordercolor
{
  border: 1px solid #5B5F5F;
}

/* Użyte do tabel, które mają tylko ramkę. */
.tborder
{
  border: 1px solid #5B5F5F;
  padding: 1px;
}
.gall img {
border: solid 1px #5a5a5a;
padding: 2px;
}
.kom img {
border: solid 1px #5a5a5a;
padding: 2px;
width: 50px;
}
.down
{
  border: 1px dashed #5B5F5F;
  border-collapse: collapse;
}
table.down img {
border: solid 1px #5b5f5f;
padding: 1px;
}
.down td, th
{
  border: 1px dashed #5B5F5F;
  border-collapse: collapse;
  padding: 5px;
}
.down tr
{
  border: 1px dashed #5B5F5F;
  border-collapse: collapse;
}

.catbg, .catbg2, .catbg3{
background: #D5C9BA url(images/cat-bg.png) 0 -10px repeat-x;
border-bottom: 2px solid #2A2E2E;
}
/* Standardowe rozmiary czcionek: mała (8pt), normalna (10pt), i duża (14pt). */
.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext
{
  line-height: 18px;
  text-indent: 10px;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}


/* Posty i PW wyświetlane wszędzie na forum */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}

/* Wszystkie podpisy na forum.  Jeśli użytkownicy forum mają MFF, Operę lub Safari, możesz ustawić maksymalną wysokość tutaj. */
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}

/* Czasami będą błędy kiedy wklejasz posta. (brak tematu, nowa wiadomość itp.) */
.error{
color: red;
}

.mainbody h3{
margin-bottom: 1ex;
font-size: 140%;
 }

.leftbox{
padding: 2px 8px 8px 4px;
}
#useropts
{
margin: 0;
list-style: none;
padding-left: 1ex;
}

#leftmen{
border-right: solid 1px #d0d0d0;
padding: 6px 10px 10px 10px;
}
#mainmen
{
padding-left: 10px;
}
.maintab_back, .mirrortab_back
{
border: solid 1px #d0d0d0;
background: #fdfdfd;
padding: 4px;
}

/* wszelkie bajery */

div.avatar {
  float: left;
}

div.profile_info {
  margin-left: 80px;
}

div.moduletable.center {
  text-align: center;
  margin: 20px 0;
}

td.postbuttons a {
  margin: 0;
  padding: 0;
}

td.postbuttons img {
  margin: 0;
  padding-right: 0px;
}

a.collapse_expand img {
vertical-align: middle;
margin-right: 5px;
}

td.smalltext {
font-weight: normal;
}
#smf_menu{

float: left;
width: 100%;
padding: 0;
padding-bottom: 10px;

}
#smf_menu ul{
padding: 0;
list-style: none;
margin: 0;
}
#smf_menu ul li{
margin: 0;
float: left;
}
#smf_menu ul li a{
display: block;
margin-right: .5em;
}

td.mainbody div.padding {
padding: 10px;
}

/* inne bajery */

/* ciemny header (dark) */
#header {
position: relative;
height: 86px;
overflow: hidden;
background: #232833 url(images/header-bg.png) repeat-x;
}

#access {
position: absolute;
z-index: 10000;
top: 0;
right: 25px;
width: 200px;
height: 20px;
overflow: hidden;
}

#access #selectors {
position: relative;
height: 8px;

}

#access span {
background-repeat: no-repeat;
}

#access a {
text-decoration: none;
}

.font-selector,
.width-selector {
display: block;
position: absolute;
top: 0;
width: 12px;
height: 6px;
}

.f-default #selectors .font-selector {
right: 129px;
}

.w-fluid #selectors .width-selector {
right: 10px;
}

#access #buttons {
float: right;
}

#access .button {
display: block;
float: right;
width: 20px;
height: 12px;
margin: 0 5px;
background-repeat: no-repeat
}

#logo {
position: absolute;
top: 9px;
left: 25px;
display: block;
width:350px;
height: 66px;
background: url(images/logo.png) no-repeat;
}

#top {
height: 65px;
padding-top: 9px;
overflow: hidden;
margin-left: 500px;
margin-bottom: 10px;
margin-right: 25px;
color: #999;
}

.font-selector,
.width-selector {
background: url(images/access-select.png) no-repeat;
}

.lrg .button {
background: url(images/access-lrg.png);
}

.sml .button {
background: url(images/access-sml.png);
}

.med .button {
background: url(images/access-med.png);
}

.thin .button {
background: url(images/access-thin.png);
}

.wide .button {
background: url(images/access-wide.png);
}

.fluid .button {
background: url(images/access-fluid.png);
}


/* menu */

#nav li.active_menu a {
background: url(images/toolbar-select.png) 50% 0 no-repeat;
}


#nav {
background: url(images/toolbar-div.png) 0 0 no-repeat;
}

#nav li {
background: url(images/toolbar-div.png) 100% 0 no-repeat;
}

#nav li a {
color: #fff;
}

#nav a:hover {
color: #444444;
}

#nav {
margin: 0 0 0 20px;
padding: 0;
height: 31px;
}

#nav ul {
padding: 0;
margin: 0;
margin-left: 2px;
}

#nav li {
margin: 0;
padding: 0;
float: left;
display: block;
}

#nav a {
text-decoration: none;
cursor: pointer;
font-weight: bold;
}

#nav li.on li.on a {
text-decoration: underline;
}

#nav li a {
display: block;
float: left;
height: 31px;
line-height: 31px;
padding: 0 15px;
}

ul.subemenu {
padding: 0;
margin: 0;
}

ul.submenu li {
border: 0;
margin: 0px;
height: 16px;
line-height: 15px;
padding: 0;
padding-left: 20px;
background: url(images/play.png) no-repeat;
}

ul.submenu ul li {
  margin-left: 10px;
  background: none;
}

ul.submenu ul ul li {
  margin-left: 20px;
  background: none;
}



#footer {
background: #485269 url(images/footer-bg.png) repeat-x;
}

#footer li {
border-bottom: 1px dotted #636D84;
}

#footer div.moduletable {
color: #ccc;
}

#footer h3 {
color: #fff;
}

#footer a {
  color: #fff;
}

#footer a:hover {
color: #ccc;
}
#ajax_in_progress
{
color: #000;
text-align: center;
font-weight: bold;
font-size: 8pt;
padding: 5px;
position: fixed;
top: 0;
right: 0;
background: #84a320;
border: 1px solid #000;
}
textarea
{
background: #cccccc;
}
.komentarz {
text-align: left;
width: 598px;
margin: 0px auto;
clear: both;}

.avatargal {
width: 73px;
padding-top: 45px;
background: url(strzalka.png);
min-height: 54px;
float: left;
}

.avatargal img {
border: solid 1px #5a5a5a;
padding: 1px;
width: 50px;
}

.tekst {
padding-left: 7px;
padding-top: 7px;
padding-right: 7px;
float: right;
width: 507px;
border-left: 2px solid #5b5f5f;
border-right: 2px solid #5b5f5f;
overflow: auto;
}

.dol {width: 525px;
float: right;
background: url(dol.png) no-repeat;
height: 15px;
margin-bottom: 10px;
}

.naglowek {
display: block;
background: url(tekst.png) no-repeat;
height: 14px;
float: right;
width: 509px;
padding: 8px;
}

/* podstawowe bajery */

html {
  height: 100%;
  margin-bottom: 1px;
}


body {
margin: 0;
padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
border: 0;
padding: 5px 0;
}

span.pathway {
display: block;
height: 16px;
line-height: 16px;
vertical-align: middle;
margin-top: 5px;
margin-bottom: 10px;
font-weight: bold;
}

span.pathway img {
margin: 0px 10px;
vertical-align: middle;
}

div#pathway {
margin-bottom: 10px;
padding-left: 8px;
}

a.readon {
display: block;
float: left;
padding-left: 20px;
margin-top: 10px;
line-height: 14px;
height: 16px;
background: url(images/play.png) no-repeat;
}

/*** czcionki ***/
body {
line-height: 125%;
font-family: sans-serif;
color: #c3cdcd;
}

/* atrybuty rozmiaru */

body.f-default {
font-size: 11px;
}

a {
color: #A4BF37;
}

a:hover {
color: #fff;
}

td.left a.mainlevel#active_menu {
color: #fff;
}


.small,
.modifydate,
.createdate,
div.mosimage_caption {
font-size: 100%;
}

#nav a,
#inset a {
font-size: 110%;
}

div.moduletable h3,
.contentheading,
.componentheading {
font-size: 130%;
color: #fff;
}

.componentheading {
  margin-bottom: 15px;
}

td.componentheading {
padding-bottom: 15px;
}


/* Rodzina czcionek (font family) */
h3,
.contentheading,
.componentheading,
#nav,
.sectiontableheader,
span.pathway,
.small,
.createdate,
.modifydate,
#inset {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}

a:link,
a:visited {
text-decoration: none;
}

a:hover {
text-decoration: none;
}

/* ustawienia modułów */

div.moduletable h3 {
margin-top: 5px;
margin-bottom: 10px;
padding-bottom: 0;
}

div.moduletable {
margin-bottom: 10px;
}

td.left div.moduletable,
td.right div.moduletable  {
margin-bottom: 15px;
}

div.moduletable ul {
margin: 5px 0;
padding: 0 2em;
}

div.moduletable ul li {
padding-bottom: 3px;
}

/* standardowy styl linków menu */
a.mainlevel {
display: block;
}

a.sublevel {

}

a.mainlevel:hover {
text-decoration: none;
}

a.sublevel:hover {
text-decoration: none;
}

#inset a.mainlevel {
display: inline;
background: none;
padding: 0 15px;
}

/** regularne menu joomla **/

a.mainlevel {
display: block;
height: 16px;
line-height: 15px;
padding: 0;
padding-left: 20px;
background: url(images/play.png) no-repeat;
margin-bottom: 3px;
}

a#active_menu:link,
a#active_menu:visited {
color: #333;
}


li.active_menu a:link,
li.active_menu a:visited {
  color: #333;
}

a.sublevel:link,
a.sublevel:visited {
font-weight: bold;
}

/* nagłówki */

h1 {
padding-bottom: 5px;
}

h2 {
   padding-bottom: 5px;
}

h3 {
   padding-bottom: 5px;
}

h4 {
padding-bottom: 5px;
}

.small {
font-weight: bold;
color: #999;
}

.modifydate {
height: 20px;
vertical-align: bottom;
font-weight: bold;
color: #999;
}

.createdate {
height: 20px;
vertical-align: top;
font-weight: bold;
vertical-align: top;
padding-bottom: 5px;
padding-top: 0px;
color: #999;
}

/** trochę klasowych bajerów joomla */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
  vertical-align: middle;
}

td.buttonheading img {
margin-right: 5px;
}

table.mainbody td.mainbody td.sectiontableheader {
  font-weight: bold;
  padding: 4px;
  line-height: 20px;
  background: #363939;
  border-bottom: 1px solid #2c2e2f;
}

table.mainbody td.mainbody tr.sectiontableentry1 td,
table.mainbody td.mainbody tr.sectiontableentry2 td {
  padding: 4px;
  border-bottom: 1px solid #363939;
}

table.mainbody td.mainbody td.sectiontableentry1,
table.mainbody td.mainbody td.sectiontableentry2{
  padding: 4px;
  border-bottom: 1px solid #363939;
}

table.contentpaneopen, table.contentpane {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}


.clr {
clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}

/** szerokościowe bajery **/
/** margines: 0 0px; **/
.w-fluid div.wrapper {
min-width: 1000px;
width: 91%;
}



/* showcase */
#showcase {
border-bottom: 1px solid #1f2221;
background: #2b2e2e url(images/showcase-bg.png) repeat-x;
}


/** template layout stuff **/

#page_bg {
height: 100%;
padding: 0;
margin-bottom: 1px;
background: #151717;
}

#mainbg {
background: url(images/body-bg.png) repeat-x;
}

#mainbg-2 {
background: #5b5f5f url(images/body-shadow-br.png) 100% 0 repeat-y;
}

#mainbg-3 {
background: transparent url(images/body-shadow-bl.png) 0 0 repeat-y;
}

#mainbg-4 {
background: transparent url(images/body-shadow-tr.png) 100% 0 no-repeat;
}

#mainbg-5 {
background: transparent url(images/body-shadow-tl.png) 0 0 no-repeat;
padding: 0 25px;
}

#mainft-2 {
background: #151717 url(images/footer-shadow-tr.png) 100% 0 no-repeat;
}

#mainft-3 {
background: transparent url(images/footer-shadow-tl.png) 0 0 no-repeat;
padding: 0 24px;
}

div.wrapper {
margin: auto;
position: relative;
}


#showcase ul,
td.left ul,
td.right ul,
#footer ul {
list-style: none;
margin: 0;
padding: 0;
}

#showcase li,
td.left li,
td.right li,
#footer li {
border-bottom: 1px dotted #5c6262;
padding-bottom: 0;
margin-bottom: 2px;
}

#showcase .padding,
#footer .padding {
padding: 5px 0px;
}

#mainbody-padding {
  border-top: 1px solid #5b5f5f;
  border-bottom: 1px solid #5b5f5f;
  
}

#inset {
color: #ccc;
text-align: center;
margin: 15px 0;
}

#inset table {
width: auto;
margin: 0 auto;
}

#footer {
padding-top: 10px;
}

#the-footer {
text-align: center;
background: #2a2e2e;
border-left: 1px solid #5b5f5f;
border-right: 1px solid #5b5f5f;
border-bottom: 1px solid #5b5f5f;
color: #5B5F5F;
}

#the-footer .padding {
padding: 10px 0;
width: 100%;
border-top: 1px solid #5b5f5f;

}

table.showcase,
table.mainbody,
table.headlines,
table.footer {
width: 100%;
padding: 0;
}

table.headlines {
margin-top: -5px;
}

table.showcase tr,
table.mainbody tr,
table.headlines tr,
table.footer tr {
vertical-align: top;
}

table.showcase td.showcase,
table.footer td.footer,
table.headlines td.headlines {
width: 33%;
}

table.showcase td.showcase,
table.footer td.footer,
table.mainbody td.left,
table.mainbody td.right,
table.headlines td.headlines {
padding: 0 10px;
}

table.mainbody td.mainbody {
padding: 0;
background: #363939 url(images/content-bg.png) repeat-x;
}

td.mainbody .padding {
padding: 0 15px;
}

table.mainbody td.left,
table.mainbody td.right {
width: 18%;
background: #3b3f3f url(images/side-bg.png) repeat-x;
padding-top: 5px;
}

table.mainbody td.left {
border-right: 1px solid #5b5f5f;
}

table.mainbody td.right {
border-left: 1px solid #5b5f5f;
}

table.headlines td.headlines {
background: #393c3c;
}

/* toolbar */

#toolbar {
height: 31px;
background: url(images/toolbar-bg.png) repeat-x;
position: relative;
}

/* trochę rzeczy zawartych na stronie*/

.hide {
display: none;
}

form {
border: 0;
margin: 0;
padding: 0;
}

table.blog span.article_seperator {
display: block;
height: 20px;
}

table.pollstableborder td {
text-align: left;
padding: 2px 0;
}

input#mod_search_searchword {
width: 120px;
}

.highlight {
  background-color: #ffc;
}

table#adminform #toolbar {
background: none;
}

hr {
height: 1px;
border: 0;
color: #5b5f5f;
background-color: #5b5f5f;
}


.hide {
display:none;
}
.show {
display:block;
}
Pytacie po co to?
Można skopiować do stylish'a (wtyczka w firefoksie) i zmodyfikować, żeby się nam forum podobało. A tak w ogóle to przyda się zmienić wygląd.

Ziomioslaw: rozszerzenie.
« Ostatnia zmiana: 30.05.2009, 10:42:22 wysłane przez Joten8 » Zapisane

Nie ma mnie... Przerzucam się na PS'a.
INSEKT
Emeryt

Reputacja: 27 Offline Offline

Płeć: Mężczyzna
GIMP: 2.8
JID: INSEKT@jabster.pl
Licencja: Copyright
Wiadomości: 2 723
Galeria Użytkownika


Ja tu tylko sprzątam


Zobacz profil WWW
« Odpowiedz #1 : 30.05.2009, 18:51:51 »

Muszę wypróbować ;]
Zapisane

Nie odpowiadam na wiadomości "(Bez tematu)".
Kilka rad, czyli how-to "jak nie wkurzyć Insekta": 1, 2, 3

Twój tutorial po to tyle czasu gnije w "Gotowych", żebyś nie musiał go więcej poprawiać, gdy zostanie przeniesiony do indeksu! Każda Twoja edycja sprawi, że tutorial zniknie i nie będzie widoczny, dopóki ja go nie przywrócę.
Strony: [1]
DrukujPobierz PDF
Polskie Forum Użytkowników GIMP-aHyde zoneHyde parkTestWątek: CSS - gimpuj.info
Skocz do: