-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (75 loc) · 1.28 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
/*@import url('https://fonts.googleapis.com/css?family=Montserrat');*/
body {
background-color: #28223F;
font-family: Arial;
}
.container {
max-width: 100%;
margin: 0 auto;
padding: 20px;
}
h1 {
text-align: center;
color:#fff;
}
.pagination {
display: flex;
flex-direction: row;
justify-content: center;
margin-bottom: 20px;
}
.pagination a {
margin: 0 10px;
padding: 5px 10px;
border: none;
text-decoration: none;
border-radius: 5px;
background-color:dodgerblue;
color:#fff;
}
.pagination a.active {
background-color:#495163;
color:#ff;
}
.card-container {
width:100%;
display: flex;
align-content: center;
grid-gap: 30px;
flex-wrap: wrap;
justify-content: center;
}
.card {
min-width: 460px;
color:#fff;
border-radius: 10px;
padding: 20px;
background-color: #231E39;
box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.75);
color: #B3B8CD;
}
.card img {
max-width: 100%;
float:right;
border-radius:5px;
margin-right: 5%;
}
.card h2 {
margin-top: 10%;
word-break: break-word;
width: 50%;
}
.card:hover{
box-shadow: 0px 10px 20px -10px rgba(255,255,255,0.1);;
}
.card p {
word-break: break-all;
width:40%;
}
@media screen and (max-width: 600px) {
.card {
min-width: 90%;
flex:90%;
flex-direction: column;
}
}