-
Notifications
You must be signed in to change notification settings - Fork 0
/
works.css
153 lines (130 loc) · 2.19 KB
/
works.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
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
148
149
150
151
152
153
/* CARD section */
.works {
background-color: #eee;
padding: 10%;
display: grid;
grid-template: auto / 100%;
}
.card {
background-color: #fff;
display: flex;
flex-direction: column;
border-radius: 20px;
padding: 20px;
margin-top: 80px;
}
.card-image img {
object-fit: cover;
width: 100%;
}
.card-content {
background-color: #fff;
display: flex;
flex-direction: column;
padding-top: 10px;
gap: 10px;
}
.card-content h2 {
font-weight: 700;
font-size: 1.5rem;
line-height: 24px;
color: #172b4d;
}
.card-list1 {
display: flex;
list-style: none;
font-size: 12px;
line-height: 24px;
color: #344563;
gap: 10px;
}
.card-content p {
font-size: 14px;
line-height: 18px;
color: #344563;
}
.card-list2 {
display: flex;
list-style: none;
gap: 10px;
padding: 10px 0;
}
.card-list2 li {
background-color: #ebefff;
border-radius: 10px;
padding: 3px 10px;
font-weight: 500;
font-size: 14px;
line-height: 24px;
color: #6070ff;
}
.card-content button {
color: #5e6c84;
font-size: 17px;
background: #fff;
width: fit-content;
border-radius: 5px 5px;
padding: 8px;
border: 1px solid #7f8cff;
cursor: pointer;
}
.card-content button:hover {
background-color: #6070ff;
box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
color: #fff;
}
.card-content button:active {
border: 1px solid #7f8cff;
color: #fff;
background: #2230d2;
}
@media screen and (min-width: 768px) {
.works {
max-width: 100%;
flex-wrap: wrap;
}
.card {
flex-direction: row-reverse;
padding: 20px;
max-width: 100%;
}
.card:nth-child(even) {
flex-direction: row;
}
.card-content,
.card-image {
flex-basis: 50%;
}
.card-image img {
max-width: 100%;
}
.card-content {
padding: 40px;
}
.card-content h2 {
font-size: 40px;
line-height: 52px;
}
.card-list1 {
font-weight: 500;
font-size: 18px;
line-height: 24px;
}
.card-content p {
font-size: 16px;
line-height: 24px;
}
.card-list2 {
gap: 10px;
padding: 12px 0;
}
.card-list2 li {
font-size: 12px;
line-height: 16px;
letter-spacing: 3%;
}
.card button {
padding: 12px;
gap: 10px;
}
}