Change link colour

This commit is contained in:
Matthew Grove
2018-11-21 09:24:55 +00:00
parent 5bd96fcb58
commit cd08268c33
3 changed files with 26 additions and 29 deletions

View File

@@ -61,14 +61,14 @@
<main class="main-content" id="main-content"> <main class="main-content" id="main-content">
<div class="mdc-top-app-bar--short-fixed-adjust"> <div class="mdc-top-app-bar--short-fixed-adjust">
<h2 class="mdc-typography--headline2">Title</h2> <h2 class="mdc-typography--headline2">Title</h2>
<figure>
<img src="/images/article_name--cover.jpg" style="width:100%;">
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
</figure>
<h3 class="mdc-typography--subtitle1"> <h3 class="mdc-typography--subtitle1">
<time class="timeago" datetime="2018-11-21T07:08:0Z">Wednesday 21st November 2018</time> <time class="timeago" datetime="2018-11-21T07:08:0Z">Wednesday 21st November 2018</time>
| by <a href="/authors/name">Name</a> | by <a href="/authors/name">Name</a>
</h3> </h3>
<figure>
<img src="/images/article_name--cover.jpg" style="width:100%;">
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
</figure>
<p> <p>
</p> </p>

View File

@@ -1,3 +1,23 @@
.mdc-typography--headline2 { .mdc-typography--headline2, .mdc-typography--subtitle1 {
margin: 5px; text-transform: capitalize;
}
.mdc-typography--headline2, .mdc-typography--subtitle1, figure {
margin: 5px;
}
.main-content {
margin-left: 15%;
margin-right: 15%;
}
@media screen and (max-width: 800px) {
.main-content {
margin-left: 5%;
margin-right: 5%;
}
}
@media screen and (max-width: 600px) {
.main-content {
margin-left: 2%;
margin-right: 2%;
}
} }

View File

@@ -7,19 +7,6 @@
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label, .mdc-list-item--activated .mdc-list-item__text, .mdc-drawer .mdc-list-item--activated .mdc-list-item__graphic { .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label, .mdc-list-item--activated .mdc-list-item__text, .mdc-drawer .mdc-list-item--activated .mdc-list-item__graphic {
color: var(--mdc-theme-primary); color: var(--mdc-theme-primary);
} }
/*
.mdc-fab {
background-color: var(--mdc-theme-secondary);
}
.mdc-text-field-container {
overflow: hidden;
}
.mdc-text-field {
margin-top: 5px;
}
*/
body { body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
@@ -27,19 +14,9 @@ body {
margin: 0; margin: 0;
} }
/*
.mdc-text-field-helper-text {
margin-bottom: 10px;
}
.source-code-link {
position: fixed;
bottom: 15px;
right: 25px;
}
a { a {
color: var(--mdc-theme-secondary); color: var(--mdc-theme-secondary);
} }
*/
.mdc-drawer-app-content { .mdc-drawer-app-content {
flex: auto; flex: auto;