mirror of
https://github.com/loot/loot.github.io.git
synced 2026-07-27 14:13:30 -07:00
Tweak contributor card styling.
Add drop shadows, use correct colours.
This commit is contained in:
+4
-4
@@ -69,8 +69,8 @@ nav > .divider {
|
||||
height: 40px;
|
||||
width: 192px;
|
||||
padding: 16px;
|
||||
margin: 2px;
|
||||
background: #E8EAF6;
|
||||
margin: 4px;
|
||||
background: white;
|
||||
color: inherit;
|
||||
}
|
||||
.loot-contributor__avatar,
|
||||
@@ -91,11 +91,11 @@ nav > .divider {
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
}
|
||||
.loot-contributor.loot-admin {
|
||||
background: #303F9F;
|
||||
background: rgb(63,81,181);
|
||||
color: white;
|
||||
}
|
||||
.loot-contributor.loot-member {
|
||||
background: #64B5F6;
|
||||
background: rgb(68,138,255);
|
||||
color: white;
|
||||
}
|
||||
.loot-contributor__contributions {
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ function addToList(listElement, person) {
|
||||
var name = document.createElement('div');
|
||||
var contributions = document.createElement('div');
|
||||
|
||||
a.classList.add('loot-contributor');
|
||||
a.classList.add('loot-contributor', 'mdl-shadow--2dp');
|
||||
|
||||
avatar.className = 'loot-contributor__avatar';
|
||||
text.className = 'loot-contributor__text';
|
||||
|
||||
Reference in New Issue
Block a user