-
Notifications
You must be signed in to change notification settings - Fork 1
/
program.css
118 lines (101 loc) · 1.88 KB
/
program.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.program {
background-image: url('./assets/backgound-events.png');
background-color: var(--primary-color);
display: flex;
flex-direction: column;
margin-bottom: 70px;
}
.program h2 {
color: #fff;
text-align: center;
margin-top: 40px;
}
.program hr {
width: 15%;
margin: 15px auto;
border: 1px solid var(--secondary-color);
background-color: var(--secondary-color);
}
.activity-container {
display: flex;
flex-direction: column;
gap: 10px;
}
.activity-card {
display: flex;
width: 90%;
color: #fff;
margin: 0 auto;
background-color: rgba(122, 131, 150, 0.1);
padding: 20px 10px;
align-items: center;
}
.activity-card img {
width: 50px;
height: auto;
margin-right: 15px;
}
.activity-card .title {
width: 30%;
font-size: 0.9rem;
font-weight: bold;
margin-right: 10px;
color: var(--secondary-color);
}
.activity-card .description {
width: 70%;
font-size: 0.8rem;
}
.program button {
background-color: var(--secondary-color);
color: #fff;
width: 70%;
padding: 20px 30px;
margin: 20px auto;
font-weight: bold;
}
.program a {
display: none;
}
@media (min-width: 769px) {
.activity-container {
flex-direction: row;
justify-content: center;
}
.activity-card {
flex-direction: column;
width: 150px;
height: 200px;
margin: 0;
justify-content: center;
align-items: center;
}
.activity-card .title {
margin: 10px;
font-size: 1.2rem;
width: 100%;
text-align: center;
}
.activity-card .description {
width: 100%;
text-align: center;
}
.activity-card img {
margin: 0;
}
.program button {
display: none;
}
.program a {
display: block;
margin: 40px auto;
color: #fff;
font-size: 0.7rem;
}
.program hr {
width: 5%;
margin-bottom: 50px;
border: 1px solid var(--secondary-color);
background-color: var(--secondary-color);
}
}