47 lines
1.8 KiB
CSS
47 lines
1.8 KiB
CSS
/* ==|== non-semantic helper classes ========================================
|
|
Please define your styles before this section.
|
|
========================================================================== */
|
|
|
|
/* For image replacement */
|
|
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
|
.ir br { display: none; }
|
|
|
|
/* Hide from both screenreaders and browsers: h5bp.com/u */
|
|
.hidden { display: none !important; visibility: hidden; }
|
|
|
|
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
|
|
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
|
|
|
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
|
|
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
|
|
|
/* Hide visually and from screenreaders, but maintain layout */
|
|
.invisible { visibility: hidden; }
|
|
|
|
/* Contain floats: h5bp.com/q */
|
|
.clearfix:before, .clearfix:after { content: ""; display: table; }
|
|
.clearfix:after { clear: both; }
|
|
.clearfix { zoom: 1; }
|
|
|
|
*:focus{outline:none;}
|
|
*::-moz-focus-inner { border: 0; }
|
|
|
|
/* ==|== media queries ======================================================
|
|
PLACEHOLDER Media Queries for Responsive Design.
|
|
These override the primary ('mobile first') styles
|
|
Modify as content requires.
|
|
========================================================================== */
|
|
|
|
@media only screen and (min-width: 480px) {
|
|
/* Style adjustments for viewports 480px and over go here */
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
/* Style adjustments for viewports 768px and over go here */
|
|
|
|
}
|
|
|
|
|
|
|