Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Last active August 29, 2015 14:02
Show Gist options
  • Save unitycoder/3c51d415332e162257cd to your computer and use it in GitHub Desktop.
Save unitycoder/3c51d415332e162257cd to your computer and use it in GitHub Desktop.
Unity3D New Forums Custom Css Style
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forum.unity3d.com") {
/*
Unity3D Forums Style (to make the new forums bit more easier to read..)
Stylish plugin for Firefox : https://addons.mozilla.org/en-US/firefox/addon/stylish/
WORK-IN-PROGRESS (Feel Free To Fork/Suggest new css)
*/
/* threads list START
for example: http://forum.unity3d.com/forums/announcements.9/
*/
/* topic titles */
div.titleText h3.title {
padding:0px !important;
line-height:1em !important;
margin:0px !important;
}
/* new post topic titles, unread */
.discussionListItems .unread .title a {
font-size:13px !important;
margin: 0px !important;
font-weight:normal !important; /* OPTIONAL..if dont want bold topics */
color:#222222 !important;
}
/* user who last posted */
.discussionListItem .lastPostInfo .username {
font-size: 8pt !important;
font-weight: normal !important;
color: #888888 !important;
position:relative !important;
top:22px !important;
}
/* topic area info */
.discussionListItem .posterDate {
/*margin:0px !important;
padding:0px !important;*/
}
/* last posted time */
.discussionListItem .lastPostInfo .dateTime {
font-size: 9pt !important;
font-weight: normal !important;
color: #555555 !important;
position:relative;
top:-22px;
/* text-decoration:underline !important;*/
}
/* posterdate area, hide time*/
ol.discussionListItems li div.listBlock div.titleText div.secondRow div.posterDate span.startDate
{
display:none !important;
}
/* poster username */
div.titleText div.secondRow div.posterDate a.username
{
font-size: 12px !important;
/* float:right !important;*/
color: #666666 !important;
/* TODO: fix this.. */
/* position:relative !important;
top:-7px !important;
right: -650px !important;*/
}
/* post forum area name */
div.listBlock div.titleText div.secondRow div.posterDate span.containerName{
/* TODO: fix this..bit broken.. */
/* position:relative !important;
left: -40px !important; */
}
/* paging for topics */
ol.discussionListItems li div.listBlock div.titleText div.secondRow div.posterDate span.itemPageNav a{
background-color:inherit !important;
border:none !important;
font-size:10px !important;
}
/* hide it, keep sfew pixels as margin..*/
.posterAvatar{
width:6px !important;
}
.avatarContainer{
/* TODO: this one could be displayed, IF user has posted in the thread */
display:none !important;
width:2px !important;
}
.PreviewTooltip{
font-size: 9pt !important;
}
/* paging numbers, count */
.PageNav .pageNavHeader {
color: #888888 !important;
padding-right:10px !important;
}
.PageNav a {
color: #000000 !important;
background-color:inherit !important;
border:none !important;
font-size:12px !important;
}
.PageNav a.currentPage{
background-color:#aaaaaa !important;
color:white !important;
font-weight:bold !important;
}
/* every 2nd row bg color */
.discussionListItem:nth-of-type(2n) {
background-color: #f4F4F4 !important;
}
.titleText{
/* border-bottom: 1px solid #DDDDDD !important;*/
}
/* thread page numbers */
.itemPageNav{
visibility: visible!important;
}
/* new posts title, also subboard title */
.titleBar h1 {
color:#777777 !important;
font-size:12px !important;
font-weight:normal !important;
}
/* forum title, not really needed */
.titleBar h1:before {
content: "Search > ";
}
/* tablinks */
.tabLinks{
padding-left:110px !important;
}
/* forums Members */
.navTabs .navTab.selected .navLink {
display:none !important;
}
.navTabs .publicTabs .navLink {
display:none !important;
}
/* new posts link */
.tabLinks li:nth-child(5){
position:absolute;
left:0px;
/*font-weight: bold !important;*/
}
/* hide extra tools button */
.breadcrumb .jumpMenuTrigger
{
display:none !important;
}
/* top breadcrumb bar color */
.breadcrumb {
border:0px !important;
background-color:white !important;
}
#content .pageContent {
padding-top:0px !important;
}
.breadBoxTop, .breadBoxBottom{
padding-top:0px !important;
}
nav.section-nav{
display:none !important;
}
.titleBar{
font-size:10px !important;
}
.discussionListItem .posterAvatar, .discussionListItem .stats {
background-color:inherit !important;
}
/* post stats */
.discussionListItem .stats .major {
color: #666666 !important;
font-size:12px !important;
border:none !important;
}
/* hide "replies" */
.discussionListItem .stats .major dt:first-child {
display:none !important;
}
/* hide view count */
.discussionListItem .stats .minor {
/*font-size:10px !important;
color: #AAAAAA !important;*/
display:none !important;
}
.discussionList .sectionHeaders {
background-color:white !important;
border-top:0px !important;
border-left:0px !important;
border-right:0px !important;
border-bottom:1px solid #EEEEEE !important;
/*display:none !important;*/
}
.discussionList .sectionHeaders a{
text-decoration:none !important;
}
.LoggedIn .discussionListItem .unreadLink, .LoggedIn .discussionListItem.unread .ReadToggle {
display:none !important;
}
.LoggedIn .discussionListItem .titleText {
padding-left: 0px !important;
}
/* line between each topic */
.discussionListItem {
border-bottom:none !important;
margin-bottom:1px !important;
}
footer div.footer-wrapper {
display:none !important;
}
.discussionList .sectionHeaders a span {
display:none !important;
}
.discussionList .stats {
width:50px !important;
}
/* threads list END */
/* single thread START */
/* message box*/
.messageList .message {
border: 1px solid #DDDDDD !important;
margin-bottom:15px !important;
padding: 15px 10px 5px !important;
/* TODO: upload image somewhere else */
background: url('https://web.archive.org/web/20131010083721/http://forum.unity3d.com/images/styles/influx/style/altBG.gif') repeat-x scroll left bottom #FEFEFE !important;
}
/* message box texx */
.messageText {
margin-left:30px !important;
margin-right:30px !important;
color: #111111 !important;
font-size: 13px !important;
line-height: 1.2 !important;
}
/* poster info */
.messageUserBlock a.username{
position:relative !important;
left:-6px !important;
font-size:15px !important;
}
/* move avatar image a bit */
.messageUserBlock div.avatarHolder {
position:relative !important;
left:-6px !important;
}
/* inside post: username, post time, report link*/
.message .privateControls {
/* TODO: move report button.., move post date */
}
/* reply button */
div.publicControls a.ReplyQuote{
font-size:13px !important;
}
div.publicControls a.ReplyQuote:after{
content:" with quote" !important;
}
/* extra author name (Thanks : electroflame ) */
.message span.authorEnd {
display: none !important;
}
.message span.item.muted {
padding-left: 30px !important;
}
/* single thread end */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment