src/layouts/index.css
@import url("https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800");
* {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
font-size: 20px;
color: #212529;
font-family: 'Lora', 'Times New Roman', serif;
line-height: 1.75em;
min-width: 360px;
text-shadow: rgba(122, 122, 122, 0.411) 1px 1px 1px;
}
body *::selection {
background-color: #cc0000;
}
p {
line-height: 2.5;
margin: 30px 0;
}
p a {
text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 800;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.5em;
}
h3 { font-size: 1.5rem; margin-top: 1em; }
h4 { font-size: 1rem; }
a {
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
color: black;
}
a:focus, a:hover {
color: teal;
}
blockquote {
font-style: italic;
color: #424242;
}
.section-heading {
font-size: 36px;
font-weight: 700;
margin-top: 60px;
}
.caption {
font-size: 14px;
font-style: italic;
display: block;
margin: 0;
padding: 10px;
text-align: center;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
::-moz-selection {
color: #fff;
background: #0085A1;
text-shadow: none;
}
::selection {
color: #fff;
background: #0085A1;
text-shadow: none;
}
img::selection {
color: #fff;
background: transparent;
}
img::-moz-selection {
color: #fff;
background: transparent;
}
ul, ol {
margin-bottom: 2rem;
line-height: 2.5;
}
ul li {
margin: 0em;
}
ul li p {
margin: 0px;
}
table {
width: 100%;
}
table thead {
background-color: #212529;
color: #fff;
}
table th,
table td {
padding: 0.75em;
}
table tr:nth-child(even) td {
background-color: #eff3f7;
}
table tr:hover td {
background-color: #cc0000;
color: #fff;
}
table tr:hover a {
color: #272822 !important;
}
table tr:hover a:hover {
color: #fff !important;
}
div.gatsby-highlight {
margin-bottom: 2rem;
}