Index: static/scss/base/_utilities.scss |
=================================================================== |
--- a/static/scss/base/_utilities.scss |
+++ b/static/scss/base/_utilities.scss |
@@ -9,37 +9,22 @@ |
// help.eyeo.com is distributed in the hope that it will be useful, |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// GNU General Public License for more details. |
// |
// You should have received a copy of the GNU General Public License |
// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
-// Screen reader /////////////////////////////////////////////////////////////// |
- |
-// Use this class to add screen reader / web crawler only content |
-// |
-// EG: |
-// - An h1 for SEO that is not visible |
-// - A skip-to link for screen readers |
+/******************************************************************************* |
+ * Utilities |
+ ******************************************************************************/ |
-.sr-only |
-{ |
- position: absolute; |
- overflow: hidden; |
- clip: rect(0, 0, 0, 0); |
- width: 1px; |
- height: 1px; |
- margin: -1px; |
- padding: 0; |
- border: 0; |
-} |
- |
-// Responsive /////////////////////////////////////////////////////////////// |
+/* Responsive |
+ ******************************************************************************/ |
.mobile-only |
{ |
@media (min-width: $phablet-breakpoint) |
{ |
display: none; |
} |
} |
@@ -63,51 +48,47 @@ |
.desktop-only |
{ |
@media (max-width: $desktop-breakpoint - 1px) |
{ |
display: none; |
} |
} |
-// Unstyled /////////////////////////////////////////////////////////////// |
+/* Unstyled |
+ ******************************************************************************/ |
.unstyled, |
.content .unstyled |
{ |
margin: 0; |
padding: 0; |
border: 0; |
background: none; |
} |
ul.unstyled |
{ |
list-style: none; |
} |
-// Typography /////////////////////////////////////////////////////////////// |
- |
-.ta-center |
-{ |
- text-align: center; |
-} |
- |
-// Font Colours //////////////////////////////////////////////////////////// |
+/* Font colours |
+ ******************************************************************************/ |
.muted |
{ |
color: $gray-medium; |
} |
a.muted, |
.muted a |
{ |
color: $gray-medium !important; |
text-decoration: underline; |
} |
-// Underlined /////////////////////////////////////////////////////////////// |
+/* Underlined |
+ ******************************************************************************/ |
.underlined |
{ |
border-bottom: 1px dotted $gray; |
} |