Commit 283b4b91 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Reset of browser's CSS, corrected links' colors

parent 6140c0fa
$COLOR_LINK_ELIXIR: #f47d21; $COLOR_LINK_ELIXIR: #f47d21;
$COLOR_TEXT: #222;
$COLOR_BACKGROUND_HEADER: #023452; $COLOR_BACKGROUND_HEADER: #023452;
$FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif; $FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif;
...@@ -13,4 +14,18 @@ body { ...@@ -13,4 +14,18 @@ body {
font-family: $FONT_DEFAULT; font-family: $FONT_DEFAULT;
font-variant-ligatures: none; font-variant-ligatures: none;
font-size: 16px; font-size: 16px;
margin: 0px;
}
a {
color: $COLOR_BACKGROUND_HEADER;
transition: color 0.25s;
}
a:hover {
color: $COLOR_LINK_ELIXIR;
}
p {
color: $COLOR_TEXT;
} }
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
padding: 5px 16px; padding: 5px 16px;
margin-left: 0; margin-left: 0;
color: #fefefe; color: #fefefe;
transition: color 0.25s; transition: color 0.25s, background 0.25s;
text-transform: uppercase; text-transform: uppercase;
font-size: 0.875rem; font-size: 0.875rem;
text-decoration: none; text-decoration: none;
......
/* 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;
}
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
# This line is required so that Jekyll generates this file # This line is required so that Jekyll generates this file
--- ---
@import "elixir"; @import "reset";
\ No newline at end of file @import "elixir";
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "elixir-theme" spec.name = "elixir-theme"
spec.version = "0.1.18" spec.version = "0.1.19"
spec.authors = ["jacek.lebioda"] spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"] spec.email = ["jacek.lebioda@uni.lu"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment