about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/records.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/records.scss')
-rw-r--r--app/assets/stylesheets/records.scss61
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}