diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
commit | ad80c40944743515a45d70014e8d5ffb88cd74fc (patch) | |
tree | 0e97b3d46f3ed3594a1e4074e4a5a06deefcd76d /app/assets/stylesheets/records.scss | |
parent | 5581530930129d7854ed5d99d058939ad9c790c2 (diff) | |
download | thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.gz thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.bz2 thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.zip |
Started designing index page
Diffstat (limited to 'app/assets/stylesheets/records.scss')
-rw-r--r-- | app/assets/stylesheets/records.scss | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app/assets/stylesheets/records.scss b/app/assets/stylesheets/records.scss new file mode 100644 index 0000000..0054edd --- /dev/null +++ b/app/assets/stylesheets/records.scss | |||
@@ -0,0 +1,61 @@ | |||
1 | // Place all the styles related to the Records controller here. | ||
2 | // They will automatically be included in application.css. | ||
3 | // You can use Sass (SCSS) here: http://sass-lang.com/ | ||
4 | |||
5 | #records { | ||
6 | padding: 0; | ||
7 | margin: 0 1em; | ||
8 | |||
9 | & > li { | ||
10 | display: block; | ||
11 | padding: .25em 0; | ||
12 | |||
13 | .description { | ||
14 | a { | ||
15 | text-decoration: none; | ||
16 | color: black; | ||
17 | font-family: 'Inconsolata', monospace; | ||
18 | |||
19 | &:hover { | ||
20 | text-decoration: underline; | ||
21 | } | ||
22 | |||
23 | &:visited { | ||
24 | color: black; | ||
25 | } | ||
26 | } | ||
27 | } | ||
28 | |||
29 | .tags { | ||
30 | margin: .25em; | ||
31 | display: flex; | ||
32 | padding-left: 0; | ||
33 | |||
34 | li { | ||
35 | display: inline; | ||
36 | font-size: .75em; | ||
37 | font-family: 'Inconsolata', monospace; | ||
38 | padding: .25em; | ||
39 | -webkit-border-radius: 5px; | ||
40 | -moz-border-radius: 5px; | ||
41 | border-radius: 5px; | ||
42 | |||
43 | &.record-date { | ||
44 | background-color: #fef1bf; | ||
45 | } | ||
46 | |||
47 | &.entry-type { | ||
48 | text-transform: uppercase; | ||
49 | |||
50 | &.entry-type-blog { | ||
51 | background-color: #90fefb; | ||
52 | } | ||
53 | } | ||
54 | |||
55 | & + li { | ||
56 | margin-left: 1em; | ||
57 | } | ||
58 | } | ||
59 | } | ||
60 | } | ||
61 | } | ||