The Ohio State University's
Society of Manufacturing Engineers
/* Resets --------------------------------------------------------------------------------*/ ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input { margin: 0; padding: 0; } a img { border: 0; } a { color: #da7b00; text-decoration: none; } a:hover { color: #ffaa3d; } /* General Styling and Structure --------------------------------------------------------------------------------*/ body { font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #827762; margin: 0; padding: 0; background: #880000; } #wrapper { background: url(/files/theme/body-bg.png); } h2 { font-size: 1.9em; margin: 0; padding: .3em 0; line-height: 1.2; font-family: "Rokkitt", Arial, Helvetica, sans-serif; font-weight: 700; -webkit-text-stroke-width: 0.2px; } #content h2 { color: #880000; } p { font-size: 1em; line-height: 1.5; margin: 0; padding: .5em 0; } blockquote { font-style:italic; border-left:4px solid #da7b00; margin:10px 0 10px 0; padding-left:20px; line-height:1.5; color:#888; } #content p { color: #827762; } #content abbr { border-bottom: 1px dotted #8f8f8f; } #header-wrap { background: url(/files/theme/header-bg-red.jpg) center bottom repeat-x; padding: 15px 0 150px; } #main-wrap { position: relative; margin-top: -140px; } #wrap-in { background: url(/files/theme/wrap-inner-bg-red.png) center bottom repeat-x; } #page { margin: 0 auto; width: 975px; z-index: 2; position: relative; } #header-wrap, #main-wrap, #footer-wrap { min-width: 960px; } #header { padding: 0 50px; margin: 0; } .wsite-logo, .wsite-logo a:hover { color: #ffffff; } #logo, #logo a { font-size: 42px; color: #fff; margin: 0; font-weight: 700; padding: 0; float: left; font-family: "Rokkitt", Arial, Helvetica, sans-serif; -webkit-text-stroke-width: 0.25px; } #header-right a { color: #da7b00; } #header-right a:hover { color: #ffc67d; } /* Header Area ----------------------------------------------------------------------------*/ #header { width: 100%; height: 90px; } #header, #header table { border-collapse: collapse; border-spacing: 0; } #header td { vertical-align: middle; text-align: left; } #logo { padding: 25px 0 25px 20px; } #header-right { padding: 0 20px 0 10px; } #header-right table { float: right; width: 1px; } #header-right td { padding: 0; } /* TOP RIGHT: Phone Number --------------------------------------------------------------------------------*/ #header-right .phone-number .wsite-text { color: #270505; font-size: 13px; font-weight: 700; font-family: "Lato", "Myriad Pro", Arial, Helvetica, sans-serif; text-decoration: none; margin: 2px 0 0 15px; display: block; white-space: nowrap; } /* TOP RIGHT: Social Links --------------------------------------------------------------------------------*/ #header-right .wsite-social { vertical-align: middle; margin: 0 0 0 12px; } .wsite-social-item { width: 23px; height: 23px; margin: 0 0 0 3px; background-image:url(/files/theme/social-red.png); } #footer .wsite-social-item { background-image:url(/files/theme/social-black.png); } .wsite-social-facebook .wsite-social-facebook:hover .wsite-social-facebook:active .wsite-social-pinterest .wsite-social-pinterest:hover .wsite-social-pinterest:active .wsite-social-twitter .wsite-social-twitter:hover .wsite-social-twitter:active .wsite-social-linkedin .wsite-social-linkedin:hover .wsite-social-linkedin:active .wsite-social-mail .wsite-social-mail:hover .wsite-social-mail:active .wsite-social-rss .wsite-social-rss:hover .wsite-social-rss:active .wsite-social-flickr .wsite-social-flickr:hover .wsite-social-flickr:active .wsite-social-plus .wsite-social-plus:hover .wsite-social-plus:active .wsite-social-vimeo .wsite-social-vimeo:hover .wsite-social-vimeo:active .wsite-social-yahoo .wsite-social-yahoo:hover .wsite-social-yahoo:active .wsite-social-youtube .wsite-social-youtube:hover .wsite-social-youtube:active /* TOP RIGHT: Search Box --------------------------------------------------------------------------------*/ #header-right .search { } #header-right .wsite-search { margin: 0 0 0 15px; vertical-align: middle; } #header-right .wsite-search-input { width: 132px; height: 15px; border: none; padding: 8px 10px !important; color: #fff; font-size: 12px; background: url(/files/theme/input-bg.png) no-repeat; } #header-right .wsite-search-button { position: relative; width: 28px; height: 31px; color: #010101; font-size: 12px; border: none; margin: 0; padding: 0; background: url(/files/theme/submit-bg-red.png) no-repeat; } /* Navigation --------------------------------------------------------------------------------*/ #nav-wrap { } #topnav { clear: both; margin: 0 20px; padding: 0 10px; background: #771d1d url(/files/theme/nav-bg-red.png) repeat-x; border-bottom: 5px solid #771d1d; border-top: 5px solid #771d1d; } #topnav ul { list-style: none; float: left; } #topnav ul li { list-style: none; float: left; padding: 9px 15px 9px 0; background: url(/files/theme/nav-sep-red.png) right center no-repeat; margin-right: 10px; } #topnav a { float: left; display: block; color: #ffffff; text-decoration: none; font-family: 'Brawler', Arial, Helvetica, sans-serif; padding: 8px 20px; outline: 0; list-style-type: none; font-size: 16px; line-height: 1; border: 1px solid transparent; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-text-stroke-width: 0.2px; } #topnav ul > li:last-child, #topnav ul > span:last-child li { background: none; padding-right: 0; } #topnav li#active a, #topnav a:hover { color: #fff; background: #da7b00 url(/files/theme/nav-active-red.png) no-repeat; border: 1px solid #da7b00; } /****************************** flyout menus ******************************/ #wsite-menus .wsite-menu li a { padding: 10px; color: #ffffff; background: #4c0000; border: 0; border-bottom: 1px solid #771d1d; } #wsite-menus .wsite-menu li:last-child a { border-bottom: none; } #wsite-menus .wsite-menu li:last-child a:hover { border-bottom: none; } #wsite-menus .wsite-menu li a:hover { color: #fff; background: #350000; } /* main */ #main-bot { background: url(/files/theme/main-bot.png) left bottom no-repeat; padding-bottom: 25px; } #main-inner { background: url(/files/theme/main-inner.png) repeat-y; padding: 10px 30px 0; } #main { } #content { min-height: 400px; padding: 18px 18px 28px 18px; } #banner { position: relative; background: url(/files/theme/banner-bot.png) left bottom no-repeat; padding-bottom: 24px; overflow: hidden; } #banner-outer { background: #e9e1d3; padding: 9px; border: 1px solid #d4cbb9; } #banner-inner { border: 4px solid #f6f3ec; } /* PAGE TYPE: banner-tall --------------------------------------------------------------------------------*/ .tall-header-page .wsite-header { width: 887px; height: 323px; background: url(/files/theme/banner-tall.jpg) no-repeat; } /* PAGE TYPE: banner-short --------------------------------------------------------------------------------*/ .short-header-page .wsite-header { width: 887px; height: 183px; background: url(/files/theme/banner-short.jpg) no-repeat; } .no-header-page #banner-outer { display: none; } /* PAGE TYPE: banner-landing --------------------------------------------------------------------------------*/ .landing-page #banner { overflow: hidden; } .landing-page #banner-inner { background: #faf8f6; border-color: #f2eeea; } #bannerleft { float: right; padding: 0; position: relative; border-left: 5px solid #f2eeea; } .landing-page .wsite-header { width: 494px; height: 373px; background: url(/files/theme/banner-landing.jpg) no-repeat; } .landing-banner-outer { display: table; #position: relative; overflow: hidden; } .landing-banner-mid { #position: absolute; #top: 50%; display: table-cell; vertical-align: middle; } .landing-banner-inner { #position: relative; #top: -50%; } #bannerright { float: left; width: 323px; height: 373px; padding: 0 30px; } #bannerright h2 { color: #880000; font-size: 34px; font-family: "Rokkitt", "Myriad Pro", Arial, Helvetica, sans-serif; font-weight: 700; padding: 0px; line-height: 34px; } #bannerright p { color: #827762; font-size: 1em; padding: 20px 0px; line-height: 140%; margin: 0; } #bannerright .wsite-button { margin: 0; } /* PAGE TYPE: splash --------------------------------------------------------------------------------*/ .splash-page #header { width: 532px; } .splash-page #banner { width: 527px; height: 161px; padding: 6px 4px 4px 6px; background: url(/files/theme/banner-splash-bg.png) no-repeat; } .splash-page .wsite-header { width: 515px; height: 149px; background: url(/files/theme/banner-splash.jpg) no-repeat; } .splash-page #content-container { width: 528px; } .splash-page #content { width: 528px; } .splash-page #footer { width: 524px; } /* Footer --------------------------------------------------------------------------------*/ #footer-wrap { background: #880000 url(/files/theme/footer-wrap-red.png) center top repeat; position: relative; z-index: 1; } #footer { padding: 20px 50px 50px; font-size: 12px; color: #953f3f; font-family: Arial, Helvetica, sans-serif; text-align: right; } #footer p, #footer .wsite-form-label, #footer { color: #953f3f; } #footer a { color: #fff; } #footer a:hover { color: #c88c8c; } #footer h2 { font-size: 18px; margin: 0; color: #953f3f; padding: .3em 0; line-height: 1.5; font-family: "Rokkitt", "Myriad Pro", Arial, Helvetica, sans-serif; font-weight: 700; border-bottom:1px solid #662020; margin-bottom:5px; } #footer span { vertical-align: middle; } .wsite-footer { /* make sure enough space between element footer and attribution */ margin-bottom: 15px; } #footer blockquote { border-left:4px solid #953f3f; color:#953f3f; } #footer hr /* Form Customization --------------------------------------------------------------------------------*/ .wsite-form-label { display: inline-block; color: #827762; font-family: Arial, Helvetica, sans-serif; font-size: 1em; padding: 12px 0 5px 0; } .form-radio-container { color: #827762; font-size: 1em; font-family: Arial, Helvetica, sans-serif; } .wsite-form-input, .wsite-search-element-input { font-family: Arial, Helvetica, sans-serif; font-size: 1em; color: #827762; background: #fff url(/files/theme/field.png) repeat-x; border: 1px solid #d4cbb9; padding: 6px 4px 6px !important; line-height: 1; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } .form-select { color: #827762; background: url#fff (field.png); border: 1px solid #d4cbb9; font-size: 1em; font-family: Arial, Helvetica, sans-serif; padding: 3px 4px; width: 320px; height: 27px; line-height: 27px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } /* Footer Form Customization --------------------------------------------------------------------------------*/ .wsite-form-container { margin-top:0px !important; text-align:left; } .wsite-footer .wsite-form-label { font-size: 1em; padding: 5px 0 2px 0; } .wsite-footer .wsite-form-field { width:300px !important; } .wsite-footer .form-radio-container { font-size:1em; color:#953f3f; } .wsite-footer .wsite-form-input { font-size: 1em; width: 100% !important; } .wsite-footer .form-select { width: 100%; } /* Buttons --------------------------------------------------------------------------------*/ /* Buttons are styled with background image sprites. There are 4 unique image files: - small & normal-colored (button_small_grey.png) - large & normal-colored (button_large_grey.png) - small & highlight-colored (button_small_orange.png) - large & highlight-colored (button_large_orange.png) Each of these 4 types of buttons must define a :hover state (when user's mouse is over) as well as an :active state (when the user presses down). Look at the CSS (especially the inner .wsite-button-inner wrapper), as well as the image files to understand how the liquid-width nature of these buttons work. */ /* small */ .wsite-button { color: #fff !important; font-family: Arial, Helvetica, sans-serif; height: 34px; display: inline-block; font-size: 12px; border: none; font-weight: bold; font-size: 13px; text-decoration: none; padding: 0 15px 0 0; background: url(/files/theme/button_red.png) no-repeat 100% -105px; text-shadow:0 -1px 0 rgba(0,0,0,0.9); } .wsite-button:hover { background-position: 100% -140px; } .wsite-button:active { background-position: 100% -175px; } .wsite-button-inner { height: 34px; line-height: 34px; display: block; font-size: 14px; font-weight: bold; border: none; text-decoration: none; padding: 0 10px 0 25px; background: url(/files/theme/button_red.png) no-repeat 0 0; } .wsite-button:hover .wsite-button-inner { background-position: 0 -35px; } .wsite-button:active .wsite-button-inner { background-position: 0 -70px; } /* large */ .wsite-button-large { height: 41px; background: url(/files/theme/button_large_red.png) no-repeat 100% -126px; padding: 0 15px 0 0; } .wsite-button-large:hover { background-position: 100% -168px; } .wsite-button-large:active { background-position: 100% -210px; } .wsite-button-large .wsite-button-inner { height: 41px; line-height: 41px; padding: 0 10px 0 25px; background: url(/files/theme/button_large_red.png) no-repeat 0 0; } .wsite-button-large:hover .wsite-button-inner { background-position: 0 -42px; } .wsite-button-large:active .wsite-button-inner { background-position: 0 -84px; } /* highlight */ /* Making the highlighted versions of the buttons is easy because we just need to switch out the background images. This works because the different button states (normal, :hover, :active) have their sprite coordinates in the same places. */ .wsite-button-large.wsite-button-highlight { background-image: url(/files/theme/button_large_highlight_red.png); } .wsite-button-large.wsite-button-highlight .wsite-button-inner { background-image: url(/files/theme/button_large_highlight_red.png); } .wsite-button-highlight { background-image: url(/files/theme/button_highlight_red.png); } .wsite-button-highlight .wsite-button-inner { background-image: url(/files/theme/button_highlight_red.png); }