Files: 09d6cad33605d917ad373c8737df277715b38e68 / tmpl / css / cards.part.js
499 bytesRaw
1 | module.exports = () => ` |
2 | .cards { |
3 | } |
4 | .cards a.card { |
5 | display: inline-block; |
6 | width: 250px; |
7 | height: 280px; |
8 | border: 1px solid #ccc; |
9 | margin: 6px; |
10 | vertical-align: top; |
11 | box-shadow: 0 1px 3px rgba(0,0,0,0.1); |
12 | text-align: justify; |
13 | font-weight: 300; |
14 | color: #333; |
15 | text-decoration: none; |
16 | background: #fff; |
17 | transition: box-shadow 0.2s, background 0.2s; |
18 | } |
19 | .cards a.card:hover { |
20 | background: #fdfdfd; |
21 | box-shadow: 0 2px 3px rgba(0,0,0,0.2); |
22 | } |
23 | .cards h4, .cards p { |
24 | padding: 0 1em; |
25 | } |
26 | ` |
Built with git-ssb-web