Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: scss/_reset.scss

Issue 29538612: Issue 5607 - Namespace content styles in website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Addressed NITs Created Sept. 12, 2017, 7:46 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scss/_content.scss ('k') | templates/default.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scss/_reset.scss
===================================================================
--- a/scss/_reset.scss
+++ b/scss/_reset.scss
@@ -129,8 +129,60 @@
/* Share borders between adjacent cells (opinionated) */
table
{
border-collapse: collapse;
border-spacing: 0;
}
+
+/* Normalize inline content (opinionated) */
+
+b,
+strong
+{
+ font-weight: $bold-weight;
+}
+
+small
+{
+ font-size: $small-font;
+}
+
+abbr
+{
+ text-decoration: underline;
+ cursor: help;
+}
+
+sup
+{
+ position: relative;
+ font-size: 75%;
+ vertical-align: super;
+}
+
+a,
+a:visited
+{
+ color: inherit;
+ /* Remove the gray background on active links in IE 10. */
+ background-color: transparent;
+ text-decoration: none;
+ /* Set default pointer regardless of href (opinionated) */
+ cursor: pointer;
+}
+
+a:hover,
+a:active,
+a:focus
+{
+ text-decoration: underline;
+}
+
+img
+{
+ /* Make fixed width images responsive */
+ max-width: 100%;
+ /* Remove the border on images inside links in IE 10-. */
+ border-style: none;
+}
« no previous file with comments | « scss/_content.scss ('k') | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld