about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/main/records.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/main/records.scss')
-rw-r--r--app/assets/stylesheets/main/records.scss63
1 files changed, 63 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/records.scss b/app/assets/stylesheets/main/records.scss new file mode 100644 index 0000000..dd4eac1 --- /dev/null +++ b/app/assets/stylesheets/main/records.scss
@@ -0,0 +1,63 @@
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@import url('https://fonts.googleapis.com/css?family=Inconsolata');
6
7#records {
8 padding: 0;
9 margin: 0 1em;
10
11 & > li {
12 display: block;
13 padding: .25em 0;
14
15 .description {
16 a {
17 text-decoration: none;
18 color: #352712;
19 font-family: 'Inconsolata', monospace;
20
21 &:hover {
22 text-decoration: underline;
23 }
24
25 &:visited {
26 color: #352712;
27 }
28 }
29 }
30
31 .tags {
32 margin: .25em;
33 display: flex;
34 padding-left: 0;
35
36 li {
37 display: inline;
38 font-size: .75em;
39 font-family: 'Inconsolata', monospace;
40 padding: .25em;
41 -webkit-border-radius: 5px;
42 -moz-border-radius: 5px;
43 border-radius: 5px;
44
45 &.record-date {
46 background-color: #fef1bf;
47 }
48
49 &.entry-type {
50 text-transform: uppercase;
51
52 &.entry-type-blog {
53 background-color: #90fefb;
54 }
55 }
56
57 & + li {
58 margin-left: 1em;
59 }
60 }
61 }
62 }
63}