3 Commits

  1. 11
      CHANGELOG.md
  2. 9
      assets/css/_markdown.scss
  3. 85
      assets/css/app.scss
  4. 2
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.55.1](https://git.inhji.de/inhji/mirage/compare/v0.55.0...v0.55.1) (2021-02-23)
### Bug Fixes:
* improved heading in content
* primary color for backlink/sources headlines
## [v0.55.0](https://git.inhji.de/inhji/mirage/compare/v0.54.2...v0.55.0) (2021-02-22)

9
assets/css/_markdown.scss

@ -9,9 +9,12 @@
@include color-assign(color, primary-inverse);
}
h1 {
font-size: 1.3rem;
}
h1 { font-size: 1.4rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; text-transform: uppercase; }
h1, h2, h3, h4, h5, h6 {
margin-top: 2rem;

85
assets/css/app.scss

@ -218,48 +218,6 @@ kbd {
}
}
.backlinks, .sources {
&+form {
margin-top: 1rem;
}
h4 {
margin-bottom: 1rem;
background: white;
padding: 0.5rem 1rem;
font-weight: bold;
border-bottom: 1px solid $border-base;
@include color-assign(border-color, on-surface);
}
a {
text-decoration: none;
}
.link-wrapper {
display: flex;
padding: 1rem;
border: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(background-color, surface);
margin-bottom: 1rem;
a.link {
flex: 1;
span:first-child {
font-weight: bold;
}
}
}
.link-wrapper:last-child {
margin-bottom: 0;
}
}
.cards {
display: flex;
flex-wrap: wrap;
@ -398,6 +356,49 @@ article {
}
}
.backlinks, .sources {
&+form {
margin-top: 1rem;
}
h4 {
margin-bottom: 1rem;
padding: 0.5rem 1rem;
font-weight: bold;
border: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(color, on-primary);
@include color-assign(background-color, primary);
}
a {
text-decoration: none;
}
.link-wrapper {
display: flex;
padding: 1rem;
border: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(background-color, surface);
margin-bottom: 1rem;
a.link {
flex: 1;
span:first-child {
font-weight: bold;
}
}
}
.link-wrapper:last-child {
margin-bottom: 0;
}
}
/* === Media Queries === */
@media (max-width: 768px) {

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.55.0"
@version "0.55.1"
def project do
[

Loading…
Cancel
Save