fixed svg display using shortcode and partial.
[theme-danix.xyz.git] / assets / sass / main.scss
CommitLineData
c7bc4983 1// various imports for our styling
2
3// BOURBON
2d3ca553 4@import "bourbon/bourbon";
50cea8ca 5
c7bc4983 6// MY COLOR DEFINITIONS
7@import "colors";
50cea8ca 8
c7bc4983 9// GOOGLE FONTS
cc43b16d 10@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;1,400;1,600&family=Red+Hat+Mono&display=swap');
11
c7bc4983 12html {
13 margin: 0;
14 padding: 0;
15 font-family: 'Montserrat', sans-serif;
16 color: $dark-grey;
17 a {
18 color: $dark-accent;
19 text-decoration: none;
20 &:visited {
21 color: $light-accent;
22 }
23 &:hover {
24 color: $dark-orange;
25 }
26 }
27
28 body {
29 background-color: $base-bg;
30 margin: 0;
31 padding: 0;
2d3ca553 32
c7bc4983 33 div#page {
34 header#masthead,
35 footer#colophon {
36 color: $base-bg;
37 background-color: $dark-grey;
38 margin: 0;
39 padding: 1em;
40 }
41 header#masthead {
42 h1.site-title {
43 font-size: 5em;
44 font-weight: 200;
45 margin: 0;
46 padding: 0;
47 a {
48 color: $dark-orange;
49 }
50 }
51 }
52 footer#colophon {
53 div#social-menu {
54 ul.social-links {
55 margin: 0;
56 padding: 0;
00bd3a19 57 li {
58 display: inline-block;
59 }
c7bc4983 60 }
61 }
62 }
63 div#content {
64 line-height: 1.5;
65 font-weight: 400;
66 padding: 1em 3em;
67 div#secondary {
68 div#home-social-links {
c7bc4983 69 ul.social-links-list {
70 list-style: none;
71 li {
72 display: inline-block;
73 float: none;
c7bc4983 74 text-align: center;
75 a {
76 color: $dark-orange;
77 &:hover {
92f65567 78 color: shade($dark-orange, 40%);
c7bc4983 79 }
80 }
81 }
82 }
83 }
84 }
85 }
86 }
0605a97a 87 }
2ae9d02f 88}
00bd3a19 89ul {
90 list-style: none;
91}
2ae9d02f 92.screen-reader-text,
93.hidden {
c7bc4983 94 @include hide-visually;
92f65567 95}
96pre {
97 margin: 1em;
98 padding: 0.7em;
99 max-width: 90vw;
100 background-color: $light-grey;
101 color: $light-orange;
102 font-size: 1.4em;
103 font-family: 'Red Hat Mono', monospace;
104}
105div#backtotop {
cc43b16d 106 color: $light-orange !important;
107 & a {
108 position: fixed;
109 right: 2em;
110 bottom: 2em;
111 border-radius: 100%;
112 background-color: $dark-orange;
113 padding: 0.5rem;
114 border: none;
115 cursor: pointer;
116 display: block;
00bd3a19 117 width: 3em;
118 height: 3em;
cc43b16d 119 color: $dark-grey;
92f65567 120 }
50cea8ca 121}
122.inline-svg {
123 display: inline-block;
00bd3a19 124 height: 3em;
125 width: 3em;
126 margin-right: 1em;
127 top: 0.15em;
50cea8ca 128 position: relative;
ed9943a3 129}