Skip to content

Commit

Permalink
Add advent of code thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Dec 2, 2018
1 parent 7172621 commit 65da48b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bin/geckodriver: Makefile
touch $@

build/%.css: assets/scss/%.scss build venv
venv/bin/sassc -t compressed $< $@
venv/bin/pysassc -t compressed $< $@

clean:
rm -rf bin build venv
14 changes: 14 additions & 0 deletions aoc.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="build/style.css">
</head>
<body class="dark aoc">
<img src="assets/icon.png" class="channel-icon">
<img src="assets/python-logo.png" class="logo">
<div class="title"><span>advent of code 2018</span></div>
<div class="subtitle"><span>intro + project template</span></div>
<div class="episode"><span>day 0</span></div>
</body>
</html>
10 changes: 10 additions & 0 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,13 @@ body {
background: #eee;
color: #333;
}

.aoc {
border-color: #0c0;

.title span {
font-size: 16vh;
color: #0c0;
text-shadow: 0 0 2px #0c0, 0 0 10px #0c0;
}
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libsass
libsass>=0.16.1
pre-commit
selenium

0 comments on commit 65da48b

Please sign in to comment.