mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Rename Sass directory to CSS
This commit is contained in:
parent
cc4261c95a
commit
25b110032e
4
assets/css/components/_shader.scss
Normal file
4
assets/css/components/_shader.scss
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.shader {
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
@ -2,6 +2,7 @@ pre {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: black;
|
background: black;
|
||||||
color: white;
|
color: white;
|
||||||
|
font-size: 0.7rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
@ -43,6 +43,7 @@
|
|||||||
@import "components/post";
|
@import "components/post";
|
||||||
@import "components/photos";
|
@import "components/photos";
|
||||||
@import "components/logo";
|
@import "components/logo";
|
||||||
|
@import "components/shader";
|
||||||
|
|
||||||
// 7. Utilities – utilities and helper classes with ability to override
|
// 7. Utilities – utilities and helper classes with ability to override
|
||||||
// anything which goes before in the triangle, eg. hide helper class
|
// anything which goes before in the triangle, eg. hide helper class
|
||||||
@ -6,7 +6,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</title>
|
</title>
|
||||||
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7434852/6717812/css/fonts.css" />
|
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7434852/6717812/css/fonts.css" />
|
||||||
{{ $sass := resources.Get "sass/main.scss" }}
|
{{ $sass := resources.Get "css/main.scss" }}
|
||||||
{{ $style := $sass | resources.ToCSS }}
|
{{ $style := $sass | resources.ToCSS }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user