aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/scss/_resources.scss
blob: e9b3d0be9fa8a7e4904f2826a0c8c50d1210a868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
 *
 * SPDX-License-Identifier: LAL-1.3
 */

// Place all the styles related to the Resources controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/

article.resource {
    nav {
        margin-top: 1rem;

        ul {
            display: flex;
            border-top: 2px solid;
            flex-flow: row-reverse nowrap;
            justify-content: space-evenly;
            list-style: none;
            padding: 0;

            li {
                padding: 0;
                text-align: center;
                flex: 1;

                &:first-child {
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                a {
                }
            }
        }
    }
}