aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/scss
diff options
context:
space:
mode:
authorIN COMMON Collective <collective@incommon.cc>2021-03-22 23:53:46 +0100
committerIN COMMON Collective <collective@incommon.cc>2021-03-22 23:53:46 +0100
commitc738e96b2b99bfd92b70d4cec26d6874a7f609e4 (patch)
tree5a20ca7c2ac1a24276db3822ed3d16b113310910 /app/javascript/scss
parent2ab72be43107e23cc325bf0bb4f449a8eb697277 (diff)
parent30212382cc00b13c1fd65e5432afe1480e9e4be6 (diff)
downloadincommon-map-c738e96b2b99bfd92b70d4cec26d6874a7f609e4.tar.gz
Merge branch 'main' of code.cepheide.org:incommon-map into mainv0.1.9
Diffstat (limited to 'app/javascript/scss')
-rw-r--r--app/javascript/scss/_resources.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/javascript/scss/_resources.scss b/app/javascript/scss/_resources.scss
index eb7411b..e9b3d0b 100644
--- a/app/javascript/scss/_resources.scss
+++ b/app/javascript/scss/_resources.scss
@@ -7,3 +7,32 @@
// 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 {
+ }
+ }
+ }
+ }
+}