diff --git a/_sass/elixir/_base.scss b/_sass/elixir/_base.scss index 9630640d9ba76e8c310079f0381451ace1fb51f3..475b06b9051081be83b0b1bc0aa336b33cd98a77 100644 --- a/_sass/elixir/_base.scss +++ b/_sass/elixir/_base.scss @@ -1,4 +1,5 @@ $COLOR_LINK_ELIXIR: #f47d21; +$COLOR_TEXT: #222; $COLOR_BACKGROUND_HEADER: #023452; $FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif; @@ -13,4 +14,18 @@ body { font-family: $FONT_DEFAULT; font-variant-ligatures: none; font-size: 16px; + margin: 0px; +} + +a { + color: $COLOR_BACKGROUND_HEADER; + transition: color 0.25s; +} + +a:hover { + color: $COLOR_LINK_ELIXIR; +} + +p { + color: $COLOR_TEXT; } diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index 82f76d71c2bb1cdebc1af7143c0eeabc62a465e4..f587a67324dd0f4cff4d3737c3336bb3f7168d32 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -31,7 +31,7 @@ padding: 5px 16px; margin-left: 0; color: #fefefe; - transition: color 0.25s; + transition: color 0.25s, background 0.25s; text-transform: uppercase; font-size: 0.875rem; text-decoration: none; diff --git a/_sass/reset.scss b/_sass/reset.scss new file mode 100644 index 0000000000000000000000000000000000000000..ed11813c4e691793cebd51002408e510d8e2a691 --- /dev/null +++ b/_sass/reset.scss @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/assets/main.scss b/assets/main.scss index 125370670d10ea9ee86d4551dfa1b771a608f763..75bb1b9266ce353d535678285f46499d08c4b6be 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -2,4 +2,5 @@ # This line is required so that Jekyll generates this file --- -@import "elixir"; \ No newline at end of file +@import "reset"; +@import "elixir"; diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index dcd65cb28877930c8b81a9ee56fa6375becae471..60c8ebebe4341c8daa6d33a345c3ff615670a41c 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "elixir-theme" - spec.version = "0.1.18" + spec.version = "0.1.19" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"]