forked from hackforla/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_projects.scss
114 lines (92 loc) · 1.64 KB
/
_projects.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
.projects {
background: $color-pink;
padding: 32px 16px;
}
.projects-inner {
display: flex;
flex-direction: column;
@media #{$bp-mobile-up} {
flex-direction: row;
flex-wrap: wrap;
}
}
.project-list {
margin-bottom: 24px;
order: 2;
@media #{$bp-tablet-up} {
display: grid;
grid-gap: 24px;
grid-template-columns: repeat(2, 1fr);
order: 3;
width: 100%;
}
}
.project-card {
background: $color-white;
border: 0 solid rgba($color-black, 0.06);
border-radius: 16px;
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
margin-bottom: 24px;
overflow: hidden;
@media #{$bp-tablet-up} {
margin-bottom: 0;
}
}
.project-title-no-page {
color: $color-black;
}
.project-tmb-img {
display: block;
width: 100%;
}
.project-body {
padding: 16px;
}
.project-header {
color: $color-black;
margin-bottom: 16px;
order: 1;
}
.project-pitch {
order: 3;
@media #{$bp-tablet-up} {
align-self: flex-end;
margin-bottom: 16px;
margin-left: auto;
order: 2;
}
@media #{$bp-below-mobile} {
font-size: 0.9em;
}
.btn {
margin: 0 0 0 12px;
}
}
.project-tmb {
position: relative;
}
.status-indicator {
float: right;
text-align: center;
margin-left: 10px;
background-color: rgb(255, 255, 151);
width: 82px;
padding: 2px 7px;
border-radius: 6px;
box-shadow: 0 0 8px 0 rgba($color-black, 0.1);
}
.status-text {
margin: 0px 0px;
}
.status-Active {
background-color: rgb(187, 255, 187);
}
.status-Rebooting {
background-color: rgb(164, 213, 255);
}
.status-Completed {
background-color: rgb(255, 173, 173);
}
.project-card-field-inline {
display: inline;
}