Skip to content

Commit dbbe8e9

Browse files
committed
move intro to main.scss
1 parent 4ed2e3e commit dbbe8e9

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

src/components/layout.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ pre[class*="language-"] {
5757
padding: 0 1rem;
5858
max-width: 1140px;
5959
}
60-
.intro {
61-
background-color: $section-bg-color;
62-
padding: 2rem 0;
63-
.container {
64-
text-align: center;
65-
margin-bottom: 2rem;
66-
}
67-
}
6860
.l-cards__heading {
6961
display: flex;
7062
align-items: center;

src/styles/main.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@
1111
color: $accent!important;
1212
}
1313
}
14+
15+
.intro {
16+
background-color: $section-bg-color;
17+
padding: 2rem 0;
18+
line-height: 30px;
19+
@include md {
20+
line-height: 40px;
21+
}
22+
.container {
23+
text-align: center;
24+
margin-bottom: 2rem;
25+
}
26+
.intro__link {
27+
margin-top: 1rem;
28+
}
29+
}

0 commit comments

Comments
 (0)