Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Kako promjenut boju od LINKA ?

Aloittaja Cola-Coca, syyskuu 23, 2009, 04:46:36 IP

« edellinen - seuraava »

Cola-Coca

Imam instaliran foro SMF 1.1.10 i htjeo bi promjenut boju od linkova u mom forumu. Izgleda malo glupo da boja od naslova , texta i linkova je iste boje u mom slucaju crne.

Zna li netko kako mogu promjenut boju samo od linka i nista vise.
Naprimjer da text bude kako i stoji crne boje a svi linkovi u forumu da su naprimjer palve boje.

Hvala!  :-[
I LOVE SMF

[̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶

Nagadjam da je u style.css.. ne znam ti bas rec konkretan odg.. ali pogledaj tamo.. i citaj komentare..

Cola-Coca

Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 23, 2009, 04:56:39 IP
Nagadjam da je u style.css.. ne znam ti bas rec konkretan odg.. ali pogledaj tamo.. i citaj komentare..

ako hoces mogu ti ovde zakacit  style.css !  ::)
I LOVE SMF

Cola-Coca

Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 23, 2009, 04:56:39 IP
Nagadjam da je u style.css.. ne znam ti bas rec konkretan odg.. ali pogledaj tamo.. i citaj komentare..



#userarea {
    height: 73px;
    float: right;
    padding: 12px 25px 0 0;
    text-align: right;
    font-size: 1.0em;
    color: #ddd;
    font-family: tahoma, sans-serif;
}

#userarea a:link, #userarea a:visited {
    color: #eee;
}

#userarea a:hover {
    color: #ccc;
    text-decoration: underline;
}

#searcharea {
    float: right;
    padding: 5px 25px 0 0;
    margin: 0;
    clear: both;
}


#logo {
display: block;
width: 200px;
height: 150px;
cursor: pointer;
background: url(images/sev/logo.png) no-repeat;
}
#alt {
width: 950px;
height: 50px;
background: url(images/sev/alt.png) no-repeat;
}
#frm {
      padding: 2ex 10px 2ex 10px;
}

#beyaz {
background:#f9f9f9;
}

#logo-arka {
width: 950px;
height: 150px;
background: url(images/sev/logo-arka.png) no-repeat;
}

#boyut  {
width: 950px;
margin: 0 auto;
padding: 0;
}

/* Normal, standard links. */
a:link
{
color: #000;
text-decoration: none;
}
a:visited
{
color: #000;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
color: #000000;
text-decoration: none;
}
a.nav:hover
{
color: #cc3333;
text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
color: #000000;
font-size: small;
font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
background:#8fdcf4;
margin: 0px;
padding: 4px 0px 0px 0px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
color: #000000;
font-family: verdana, sans-serif;
}
input, button
{
font-size: 90%;
}

textarea
{
font-size: 100%;
color: #000000;
font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
font-size: 90%;
font-weight: normal;
color: #000000;
font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
height: 1px;
border: 0;
color: #666666;
background-color: #666666;
}

/* No image should have a border when linked */
a img
{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
color: #000000;
background-color: #D7DAEC;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
color: #000000;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
font-size: x-small;
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;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
color: #000000;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
background-color: yellow;
font-weight: bold;
color: black;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
background: #e9e9ea;
border-top: solid  1px #e9e9ea;
border-left: solid 1px #e9e9ea;
border-right: solid  1px #dddddd;
border-bottom: solid 1px #dddddd;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
background: #e9e9ea;
border-top: solid  1px #e9e9ea;
border-left: solid 1px #e9e9ea;
border-right: solid  1px #dddddd;
border-bottom: solid 1px #dddddd;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #000;
background-color: #f8f8f8;
border-top: solid  1px #e9e9ea;
border-left: solid 1px #e9e9ea;
border-right: solid  1px #dddddd;
border-bottom: solid 1px #dddddd;
}
.windowbg2
{
color: #000;
background-color: #fff;
border-top: solid  1px #e9e9ea;
border-left: solid 1px #e9e9ea;
border-right: solid  1px #dddddd;
border-bottom: solid 1px #dddddd;
}
.windowbg3
{
color: #000;
font-style: italic;
background-color: #f8f8f8;
border-top: solid  1px #e9e9ea;
border-left: solid 1px #e9e9ea;
border-right: solid  1px #dddddd;
border-bottom: solid 1px #dddddd;
}

/* the today container in calendar */
.calendar_today
{
background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
color: black;
font-style: normal;
background:#FFFFFF;
border-bottom: solid 1px #9BAEBF;
border-top: solid 1px #FFFFFF;
padding-left: 10px;
padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
font-weight: bold;
color: black;
font-style: normal;
}

.titlebg a:hover
{
color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
color: black;
font-style: normal;
text-decoration: underline;
}

.titlebg2 a:hover
{
text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
background: url(images/catbg.png) #88A6C0 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
background: url(images/catbg.png) #A1BFD9 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
font-size: 95%;
color: white;
text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
color: white;
text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
color: #e0e0ff;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext
{
font-size: 90%;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
color: red;
}



/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
color: #999999;
vertical-align: top;
text-transform: uppercase;
}
.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
color: #ffffff;
text-decoration: none;
font-size: 12px;
font-family: tahoma, sans-serif;
padding: 5px 10px 5px 10px;
background: #dddddd;
}
.maintab_first,.mirrortab_first {
display: none;
}
.maintab_back,.mirrortab_back {}
.maintab_last,.mirrortab_last {
display: none;
}
.maintab_active_first, .mirrortab_active_first {
display: none;
}
.maintab_active_back, .mirrortab_active_back {
background: #dddddd;
border: solid 2px  #dddddd;
}
.maintab_active_last, .mirrortab_active_last {
display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
color: #757575;
text-decoration: none;
font-weight: bold;
}
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
color: #ffffff;
text-decoration: none;
font-weight: bold;
}
.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
text-decoration: underline;
color: #18d1f2;
}
/* The AJAX notifier */
#ajax_in_progress
{
background: #32CD32;
color: white;
text-align: center;
font-weight: bold;
font-size: 18pt;
padding: 3px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}



/* Menu */
#menu-orta {
height: 32px;
background: url(images/sev/menu-orta.png) repeat-x;
border-top: solid 1px #102662;
border-bottom: solid 1px #e6f4fc;
}
#menu {
background: url(images/sev/menu.png) 0 0 no-repeat;
}

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

#menu li a {
color: #fff;
}

#menu a:hover {
color: #102662;
}

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

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

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

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

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

#menu li a {
display: block;
float: left;
height: 31px;
line-height: 31px;
padding: 0 15px;
}
/* Menu Finish */   


I LOVE SMF

[̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶

Mislim da je ovo ono sto ti trazis..

Lainaa/* Normal, standard links. */
a:link
{
   color: #000;
   text-decoration: none;
}
a:visited
{
   color: #000;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

Pa si tu promjeni boje..

Cola-Coca

Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 23, 2009, 05:08:58 IP
Mislim da je ovo ono sto ti trazis..

Lainaa/* Normal, standard links. */
a:link
{
   color: #000;
   text-decoration: none;
}
a:visited
{
   color: #000;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

Pa si tu promjeni boje..


ona prva 2 sam probao i nista od njih promjenu boju cjelog texta a neznam da li je ovaj zadnji ahover? Jer hocu da promjenim samo boju linkova u mom forumu!
I LOVE SMF

Cola-Coca

Lainaus käyttäjältä: steven80 - syyskuu 23, 2009, 05:11:19 IP
Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 23, 2009, 05:08:58 IP
Mislim da je ovo ono sto ti trazis..

Lainaa/* Normal, standard links. */
a:link
{
   color: #000;
   text-decoration: none;
}
a:visited
{
   color: #000;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

Pa si tu promjeni boje..


ona prva 2 sam probao i nista od njih promjenu boju cjelog texta a neznam da li je ovaj zadnji ahover? Jer hocu da promjenim samo boju linkova u mom forumu!

nista od toga. ali isto hvala sto si mi pokusao pomoci!  :-[
I LOVE SMF

▓▒RapidBelgrade▒▓

da, kao sto jurek rece tu se nalazi, samo moras malo eksperimentisati da bi namestio kako ti odgovara....

ahover je da stavis koje boje da bude link kad stanes misem na njega....





My working day begins with awakening drink coffee and then steal all day...

Cola-Coca

Lainaus käyttäjältä: RapidBelgrade - syyskuu 23, 2009, 05:14:31 IP
da, kao sto jurek rece tu se nalazi, samo moras malo eksperimentisati da bi namestio kako ti odgovara....

ahover je da stavis koje boje da bude link kad stanes misem na njega....

eksperimentirao sam ali nista jedino sto se desi je da se promjeni skupa s bojom linka i boja texta i naslova ali ja to nezelim jedino sto hocu promjenit boju linkova u mom forumu. hocu reci tako ako netko stavi neki link da se istice
nad textom.
zna li itko ?
I LOVE SMF

LOVELORD

Napravis posebne klase... Jedno su ti naslovi tema.. Drugo cisti linkovi... CIni mi se da je o tome vec bilo reci na ovom forumu..l.

Cola-Coca

Lainaus käyttäjältä: LOVELORD - syyskuu 23, 2009, 06:25:58 IP
Napravis posebne klase... Jedno su ti naslovi tema.. Drugo cisti linkovi... CIni mi se da je o tome vec bilo reci na ovom forumu..l.

pa opet mi nisi nista rekao kako da promjenim boje linkova (samo linkova) u forumu SMF.
I LOVE SMF

LOVELORD

Potrazi po forumu.. BIlo je price o tome...

Napravis klasu koja ocitava linkove tema... i  druge... I napravis klasu u cssu koja cita samo linkove koji se postuju...

[̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶

Ahaa to..ja mislio ti hoces sve mjenjat... a nije mi palo napamet da hos samo ove sta postavite.. a ovo napravi tak kako ti je lovelord reko..

Cola-Coca

Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 24, 2009, 12:13:57 IP
Ahaa to..ja mislio ti hoces sve mjenjat... a nije mi palo napamet da hos samo ove sta postavite.. a ovo napravi tak kako ti je lovelord reko..

Nisam bas neki ekspert u tome pa ako bi mi neko mogao reci tocno stp treba da ucinim ?
Unaprijed Hvala!
I LOVE SMF

Cola-Coca

Lainaus käyttäjältä: steven80 - syyskuu 25, 2009, 07:06:56 IP
Lainaus käyttäjältä: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ - syyskuu 24, 2009, 12:13:57 IP
Ahaa to..ja mislio ti hoces sve mjenjat... a nije mi palo napamet da hos samo ove sta postavite.. a ovo napravi tak kako ti je lovelord reko..

Nisam bas neki ekspert u tome pa ako bi mi neko mogao reci tocno stp treba da ucinim ?
Unaprijed Hvala!

Jos uvjek nitko nema konkretni odgovor?  :(
I LOVE SMF

Founder 2008

Prvo napraviš klasu u css pomoću http://www.w3schools.com/css/css_pseudo_classes.asp  a posle toga otvoriš fajl u kome želiš da ti bude ta klasa i izmeniš style linka...
Ne može prostije od ovoga da se objasni, jedino da neko to uradi umesto tebe...

Advertisement: