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: Move global content styles to _reset.scss Created Sept. 11, 2017, 11:11 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
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,
juliandoucette 2017/09/11 15:54:34 NIT: I'm not sure about this one. I think that we
ire 2017/09/12 07:47:06 I'm not sure either, but I put it here because I t
juliandoucette 2017/09/12 11:08:57 Acknowledged.
+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;
+}
« scss/_content.scss ('K') | « scss/_content.scss ('k') | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld