Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

[resources.invisionpower.com - pliki] Skinning > ipb_profile.css edit for customized default skin


Rekomendowane odpowiedzi

  • Manager

When customizing the default skin "IP.Board" by changing just the body color can leave your profile page looking unfinished.

So if you decide to change the color of .body from white to another color, you will also want to update the ipb_profile.css file with the below:

/************************************************************************/

/* IP.Board 3 CSS - By Rikki Tissier - (c)2008 Invision Power Services */

/************************************************************************/

/* ipb_profile.css - Profile specific styles */

/************************************************************************/

div#profile_overview {

width: 23%;

}

div#main_profile_body {

width: 75%;

margin-top: 20px;

}

.friend_list p {

font-size: 0.9em;

padding: 15px 0 0 5px;

}

.personal_info {

text-align: center;

}

.personal_info .photo {

margin: 30px auto 20px auto;

}

.personal_info ul {

font-size: 0.9em;

-moz-border-radius: 0 0 10px 10px;

-webkit-border-bottom-left-radius: 10px;

-webkit-border-bottom-right-radius: 10px;

padding: 5px 10px;

}

.personal_info li {

margin: 2px 0;

text-align: left;

}

.personal_info li a {

background: #eef3f8;

text-decoration: none;

-moz-border-radius: 4px;

-webkit-border-radius: 4px;

padding: 5px 7px;

display: block;

}

ul.profile_options {

margin-bottom: 20px;

}

div#profile_overview .info {

background: #eef3f8;

font-size: 0.9em;

border-top: 1px solid #dedede;

border-bottom: 1px solid #dedede;

padding: 5px 0 5px 0;

}

body div#profile_overview .info dt {

padding: 3px 4px;

width: 37%;

}

body div#profile_overview .info dd {

padding: 3px 4px;

width: 53%;

}

#profile_overview .reputation {

float: none;

text-align: center;

font-weight: normal;

margin: 6px 0;

}

#profile_overview .reputation .number {

font-size: 1.1em;

font-weight: bold;

}

#profile_overview .reputation .title,

#profile_overview .reputation .image {

font-size: 0.9em;

display: block;

}

.about_info,

.contact_info {

width: 46%;

}

.recent_activity,

.about_contact,

.friend_list {

clear: both;

float: left;

width: 100%;

}

#comment_wrap {

background: #eef3f8;

clear: both;

float: left;

width: 100%;

}

.other_contact

{

margin: 5px 0px 5px 0px;

}

.other_contact .general_box {

overflow: auto;

}

.friend_list {

background: #eef3f8;

margin-top: 20px;

margin-bottom: 20px;

}

.about_contact {

margin-top: 20px;

margin-bottom: 20px;

}

.other_contact dl {

padding: 0px 10px 10px 0px;

}

.about_contact dl, dl.user_info {

background: #eef3f8;

padding: 10px;

}

.other_contact dt, .other_contact dd, .about_contact dt, .about_contact dd,

.info dt, .user_info dt, .user_info dd {

float: left;

}

.other_contact dt, .about_contact dt, .info dt, .user_info dt {

background: #eef3f8;

font-weight: bold;

padding: 3px 6px;

clear: both;

width: 30%;

}

.other_contact dd, .about_contact dd, .info dd, .user_info dd {

background: #eef3f8;

padding: 3px 6px;

width: 60%;

}

.info dd, .user_info dd {

margin-left: 35%;

}

.recent_activity .general_box {

background: #eef3f8;

}

.recent_activity a {

text-decoration: none;

}

.recent_activity #tab_recentActivity {

line-height: 150%;

}

.recent_activity #tab_recentActivity h4 {

color: #1d3652;

font-size: 1.1em;

font-weight: normal;

padding: 10px;

}

.recent_activity #tab_recentActivity ol {

font-size: 0.9em;

padding: 0 0 10px 20px;

}

.recent_activity li img {

padding-right: 6px;

}

#tab_posts .general_box,

#tab_topics .general_box {

max-height: 250px;

overflow: auto !important;

}

#tab_posts h4,

#tab_topics h4 {

font-size: 1.05em;

font-weight: normal;

padding: 6px 0 0 6px;

}

#tab_posts .post_body,

#tab_topics .post_body {

background-color: #fafbfc;

border-bottom: 1px solid #d5dde5;

padding: 10px 10px 25px 18px;

line-height: 140%;

margin-left: 0;

}

#tab_posts p.posted_info,

#tab_topics p.posted_info {

padding: 0 0 6px 6px;

margin: 0;

}

#post_comment {

padding: 10px 10px 10px 30px;

}

#post_comment .photo {

margin: 0 16px 0 6px;

}

#post_comment .input_textarea {

margin-bottom: 8px;

width: 380px;

}

#post_comment .input_submit {

margin: 0 10px 0 50px;

}

#latest_visitors {

margin-top: 12px;

}

#latest_visitors li .photo {

margin: 2px 10px 0 0;

float: left;

}

#latest_visitors li {

clear: both;

padding: 5px;

}

In my case, I changed the .body to have a light blue color, this is what the profile page looks like without updating the ipb_profile.css file:

http://pertheseries.com/other_files/1.JPG

http://pertheseries.com/other_files/2.JPG

And how it looks after applying the ipb_profile.css edit:

http://pertheseries.com/other_files/after%201.JPG

http://pertheseries.com/other_files/after%202.JPG

As you can see, the edits to the ipb_profile.css file will make your profile page work seamlessly with a changed background color. Wyświetl pełny artykuł

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.