1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/stylesheets/contributions/_index.sass
Matchu 74197a6e9f Upgrade to latest Sass and Sprockets
This required a buncha fixes to how SASS scoping works! Needed to add a bunch of imports for stuff that previously would get read from the global scope by being imported *after* the constants and mixins etc.

There's clearly a lot of refactor opportunity here, but I'm not gonna worry about it!!
2023-10-23 19:05:09 -07:00

39 lines
757 B
Sass

@import "../partials/clean/mixins"
body.contributions-index
text-align: center
.contributions
li
list-style: none
height: 80px
overflow: hidden
padding: 1em 0 0 100px
position: relative
text-align: left
.point-value
+header-text
color: #fff
font-size: 80px
left: 0
line-height: 1
position: absolute
text-align: center
text-shadow: 2px 2px 0 #000
top: 0
width: 80px
z-index: 3
&:hover
+opacity(0.5)
img
height: 80px
left: 0
position: absolute
top: 0
width: 80px
z-index: 2
.username, .contributed-name
font-weight: bold
.time-ago
display: block
font-size: 75%