Skip to content

Commit cdd2b25

Browse files
committed
style: global adjustments
1 parent c933e1b commit cdd2b25

4 files changed

+17
-7
lines changed

app/src/styles/AssociationDescription.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
display: flex;
55
flex-direction: column;
66
align-items: center;
7-
padding: 2rem;
7+
padding-top: 2rem;
88

99
.icon {
1010
width: 1.5rem;

app/src/styles/MembersList.module.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
.membersList {
44
display: flex;
55
flex-direction: column;
6-
row-gap: 1em;
76
margin-top: 3rem;
87

98
width: 80%;
@@ -13,6 +12,10 @@
1312
border-radius: 3rem;
1413
background-color: variables.$white-background-color;
1514

15+
h1 {
16+
margin: 1rem;
17+
}
18+
1619
@media (max-width: 800px) {
1720
width: 100%;
1821
}

app/src/styles/NewsCard.module.scss

+10-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
background-color: variables.$white-background-color;
55
border-radius: 3rem;
66

7+
height: 100%;
8+
79
display: grid;
810
grid-template-columns: repeat(auto-fill, minmax(max(25rem, 50%), 1fr));
9-
grid-template-rows: repeat(auto-fill, minmax(25rem, 1fr));
1011

1112
overflow: hidden;
1213

1314
box-shadow: 0 4px 30px rgba(0, 0, 100, 0.3);
1415

1516
.picture {
17+
height: 19rem;
1618
width: 100%;
1719
}
1820

@@ -21,7 +23,7 @@
2123
margin: 2rem;
2224
display: flex;
2325
flex-direction: column;
24-
26+
height: 15rem;
2527
width: calc(100% - 4em);
2628

2729
.details {
@@ -30,10 +32,13 @@
3032
margin-bottom: 0;
3133

3234
.date {
33-
font-size: small;
35+
position: absolute;
3436
text-align: left;
3537
padding-right: 1rem;
36-
width: 80%;
38+
bottom: 0;
39+
left: 0;
40+
font-size: medium;
41+
color: darkgray;
3742
}
3843
}
3944
.button {
@@ -52,7 +57,7 @@
5257
flex-direction: column;
5358

5459
.picture {
55-
height: 10rem;
60+
height: 19rem;
5661
}
5762

5863
.content {

app/src/styles/globals.scss

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ h3,
130130
h4 {
131131
color: variables.$dark-title-color;
132132

133+
margin: 0;
134+
133135
&.light {
134136
color: variables.$title-color;
135137
}

0 commit comments

Comments
 (0)