forked from mozillascience/studyGroup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
group.scss
147 lines (118 loc) · 2.06 KB
/
group.scss
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
---
$gray: #999;
$light-gray: #EEE;
/* Space out content a bit */
body {
padding-top: 20px;
}
.header {
border-bottom: 1px solid $light-gray;
padding-bottom: 10px;
margin-bottom: 20px;
text-align: center;
}
.footer {
/* padding-top: 19px; */
color: $gray;
border-top: 1px solid $light-gray;
text-align: center;
font-size: 0.8em;
a:link, a:visited {
color: $gray;
}
}
.fa {
color: $gray;
}
a > .fa {
// make sure that font-awesome icons are underlined in links
display: inline;
}
/* /\* Customize container *\/ */
/* @media (min-width: 768px) { */
/* .container { */
/* max-width: 730px; */
/* } */
/* } */
/* Jumbotron */
.jumbotron {
text-align: justify;
padding-top: 1.5em;
padding-bottom: 0.5em;
font-size: 125%
}
/* Group logo */
#logo {
width: 150px;
height: 61px;
margin: 2px 0 2px 0;
}
/* Front page news. */
ul.news {
.date {
color: $gray;
font-weight: bold;
}
> li {
margin-top: 1em;
}
}
@media (min-width: 576px) {
.project-people { column-count: 2 }
.card-columns { column-count: 2 }
}
@media (min-width: 768px) {
.role.grad { column-count: 2 }
.project-people { column-count: 3 }
.card-columns { column-count: 3 }
}
.title img {
max-width: 50%;
}
section {
margin-bottom: 2em;
}
.profile {
object-fit: cover; // makes sure it's cropped
}
.noprofile {
circle {
fill: $light-gray;
}
text {
font-weight: 700;
fill: white;
}
}
.card {
.profile {
height: 40px;
width: 40px;
margin: 3px;
}
.card-footer { padding: 0.5em }
}
.person {
margin-bottom: 10px;
.profile {
height: 70px;
width: 70px;
}
.bio {
color: $gray;
}
.person-name {
margin: 0;
}
}
.person-without-image {
margin: 0;
.bio {
margin-left: 1em;
}
}
svg {
// make the alignment just like img from bootstrap's reboot.scss
vertical-align: middle;
}