Skip to content

Commit e23d754

Browse files
committed
Remove moving background colors
I'm afraid it's too heavy. Plus changing colors back in navbar from white to visible again
1 parent 3c761c5 commit e23d754

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

app/assets/stylesheets/home.scss

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,12 @@ body {
33
margin: 1em 0;
44
color: $DJSdark-text;
55
font-size: large;
6-
//background-color: $DJSwhite;
6+
background-color: $DJSwhite;
77
font-family: 'Catamaran', sans-serif;
88
font-weight: 200;
99
}
1010

1111
//// HERO things
12-
13-
//color moving background
14-
body {
15-
background: linear-gradient(-45deg, $DJSsunshine, $DJSacqua, $DJSlavender, $DJSrose);
16-
background-size: 400% 400%;
17-
animation: gradient 20s ease infinite;
18-
}
19-
@keyframes gradient {
20-
0% {
21-
background-position: 0% 50%;
22-
}
23-
50% {
24-
background-position: 100% 50%;
25-
}
26-
100% {
27-
background-position: 0% 50%;
28-
}
29-
}
30-
31-
3212
//copied from https://wweb.dev/resources/css-separator-generator
3313
.triangle {
3414
position: relative;

app/assets/stylesheets/navbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ header {
1515

1616
padding: 0 2vw 1vh 1vw;
1717

18-
color: $DJSwhite;
18+
color: $DJSdark-text;
1919
}
2020

2121
.logo {

app/views/layouts/_navbar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="logo">logo</div>
33
<nav>
44
<ul>
5-
<li>course content</li>
5+
<li><%=link_to "course content", root_path(anchor: "course-content") %></li>
66
<li>goals</li>
77
<li>ams.rb workshop</li>
88
<li>about us</li>

0 commit comments

Comments
 (0)