by levy January 2nd 2013, 12:10 am
So,lets start
Add in your CSS this codes
- Code:
@font-face {
font-family: 'Shadows Into Light Two';
font-style: normal;
font-weight: 400;
src: local('Shadows Into Light Two'), local('ShadowsIntoLightTwo-Regular'), url(http://themes.googleusercontent.com/static/fonts/shadowsintolighttwo/v1/gDxHeefcXIo-lOuZFCn2xU9H8fLq5zs1M0-u6-ewBcM.woff) format('woff');
}
@font-face {
font-family: 'Rochester';
font-style: normal;
font-weight: 400;
src: local('Rochester'), local('Rochester-Regular'), url(http://themes.googleusercontent.com/static/fonts/rochester/v3/nE50b4-SbQ54pks-8vOplz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
Ok,now your forum and all users know at your forum is atached this two fonts.
Now ,lets make for username,if you use PunBB it will be easy for me.
Go again in CSS and add this code
- Code:
.pun .user-ident .username {
display: block;
font-size: 20px;
font-weight: 700;
position: absolute;
text-decoration: none;
top: 0;
font-family: 'Rochester'!important;
}
With this ,first code is done ,change only font-size .
Now lest do for second code.
If you are the first user ,it will be easy
- Code:
a[href="/u1"] {
font-family: 'Shadows Into Light Two';
font-size: 15px;
text-decoration: none;
}
Now : First code will make only in topic the font and the second ,anywhere is your name.
Change /u1 with what user you are ( hit his name and you will see ).
If you use other version please post ,i will fix and for others versions.