Skip to content

Instantly share code, notes, and snippets.

@carl0zen
Last active August 24, 2022 11:38
Show Gist options
  • Save carl0zen/090f44bce2a1344a6eeaece7762c10a2 to your computer and use it in GitHub Desktop.
Save carl0zen/090f44bce2a1344a6eeaece7762c10a2 to your computer and use it in GitHub Desktop.
// Block
.scenery {
//Elements
&__sky {
fill: screen;
}
&__ground {
float: bottom;
}
&__people {
float: center;
}
}
//Block
.sky {
background: dusk;
// Elements
&__clouds {
type: distant;
}
&__sun {
strength: .025;
}
// Modifiers
&--dusk {
background: dusk;
.sky__clouds {
type: distant;
}
.sky__sun {
strength: .025;
}
}
&--daytime {
background: daylight;
.sky__clouds {
type: fluffy;
float: center;
}
.sky__sun {
strength: .7;
align: center;
float: top;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment