forked from fac-17/fac17-projects-gallery
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
102 lines (87 loc) · 1.61 KB
/
style.css
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
* {
box-sizing: border-box;
}
body {
background-color: bisque;
padding: 1em;
font-family: 'Roboto', sans-serif;
}
a, a:hover, a:visited {
/* text-decoration: none; */
color: inherit;
}
.app-header {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
}
h1 {
padding:2rem;
background-image: url("../assets/check.png");
text-align: center;
font-size: 3em;
font-weight: bold;
color: bisque;
-webkit-text-stroke-color: black;
-webkit-text-stroke-width: 1px;
}
.cohort-name {
font-family: 'Major Mono Display', monospace;
}
p, h4 {
margin:0.5em 0;
}
.week-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.project-article, .week-section {
margin: 1em 0;
}
.project-article {
background-color: white;
border-radius: 1em;
padding: 1em;
display: flex;
flex-direction: column;
width: 100%;
}
.week-header {
width: 100%;
display: flex;
justify-content: center;
}
.week-h2 {
text-align: center;
font-weight: bold;
padding: 1em;
background-color: white;
border-radius: 1em;
}
.project-description {
font-style: italic;
flex-grow:1;
}
.project-image {
width: 100%;
height:100%;
object-fit: cover;
}
.project-image-container {
height: calc( calc(100vw - 2em) * 0.66);
}
.project-image-empty {
background-color: grey;
}
@media (min-width:600px){
.project-article {
width: 300px;
margin: 1em 0.5em;
}
.project-image-container {
max-width: 280px;
max-height: 195px;
}
}