Skip to content

Instantly share code, notes, and snippets.

@kirb
Created November 12, 2011 17:34
Show Gist options
  • Save kirb/1360854 to your computer and use it in GitHub Desktop.
Save kirb/1360854 to your computer and use it in GitHub Desktop.
Better ModMyi
/* various tweaks for modmyi.com, written by Ad@m */
/* install with Stylish for sites on domain modmyi.com */
/* fix the position of the annoying next/last links */
/* this has been fixed .pagination span.first_last a{top:0} */
/* three column dev portal form */
#submit-form .mmi{-webkit-column-count:3;-moz-column-count:3;column-count:3}
/* make headers more visible */
#submit-form h4{font-size:120%}
/* put labels on their own line and style the inputs */
#submit-form h4,#submit-form label{display:block;width:100%;text-align:left;font-weight:bold}
#submit-form .field{margin:0}
#submit-form .desc,#submit-form .err{display:block;margin:0}
#submit-form input[type=text],#submit-form input[type=password],#submit-form input:not([type]),#submit-form textarea{width:99%;border:1px solid #4583b7}
#submit-form textarea{resize:vertical}
#submit-form button,#submit-form input[type=submit],#submit-form input[type=button]{padding:2px 8px}
/* move quick reply buttons up */
.formcontrols input.button,.actionbuttons{margin-top:-30px;background:transparent}
/* remove repeated title and useless thread options */
.pagetitle,.thread_controls,#navtabs .selected ul{display:none}
/* don't use no facebook, so remove that too */
#fb_headerbox{display:none}
/* already jailbroken, but thanks anyway */
#topjb{display:none}
/* bold the thread name in the crumbs */
.navbit.lastnavbit{font-weight:bold}
/* might as well bring this up */
#navtabs #floatcontainer{top:-57px}
/* remove extra space in the header */
.navbar{height:auto;margin:0;margin-top:0;top:-30px}
/* header looks a bit lonely, moving content up */
.above_body{margin:0;height:auto}
/* and get rid of that odd looking border radius */
.body_wrapper{border-top-left-radius:0;border-top-right-radius:0}
/* make footer easier to see */
.below_body .shade,.below_body div{color:#ababab}
.below_body .time{color:white}
/* hide the duplicate logo for mobile */
.bodywrapping .logo{background:transparent}
/* put the home page images and videos to the side */
.article_preview .article_preview_contents img,#section_content .fullwidth .cms_article_preview_image,.article_preview iframe{float:right;width:150px;margin:0 5px 0 5px}
.article_preview .fullwidth:last-child{clear:both}
.article_preview iframe{width:300px;height:170px}
/* i can work out the categories from the title */
.cms_article_section_location{display:none}
/* already a link at the top */
#widgetlist_column2 div[style*="e98e22"]{display:none}
/* this will make the site really cool */
.above_body{position:fixed;top:0;left:0;right:0;z-index:99;height:90px}
.body_wrapper{margin-top:90px;position:relative;z-index:98}
.navbar{margin-top:20px}
/* that's it... enjoy :) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment