-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOVB.css
101 lines (88 loc) · 2.09 KB
/
COVB.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
/* Global Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
}
/* Box Styles */
.box-container {
width: 100%;
max-width: 1080px; /* Set a maximum width for larger screens */
margin: auto;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
transition: box-shadow 0.3s ease;
}
/* Article Styles */
article {
width: 100%;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
/* Hover Effect */
.box-container:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
.box-container:hover article {
transform: scale(1.05);
}
.title {
color: #333;
}
.d-flex {
display: flex;
flex-direction: column; /* Adjust to your layout needs */
justify-content: space-between;
align-items: center;
margin-top: 15px;
}
.post-author-img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-bottom: 10px; /* Adjust spacing */
}
.post-author {
font-weight: bold;
margin: 0;
}
.btn {
display: inline-block;
font-size: 16px;
font-weight: bold;
color: #fff;
text-decoration: none;
background: linear-gradient(45deg, #f70ce7, #1b0225); /* Gradient background */
padding: 20px 40px;
border-radius: 8px;
border: none;
box-shadow: 0 5px 15px rgb(248, 0, 0); /* Subtle box shadow */
transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
margin-top: 12px;
margin-left: auto; /* Center the button */
margin-right: auto; /* Center the button */
}
.btn:hover {
background: linear-gradient(45deg, #15879e, #1b0225); /* Darker gradient on hover */
transform: scale(1.05); /* Scale up slightly on hover */
}
.free-label {
font-size: 1em;
margin-left: 8px;
color: #e74c3c;
}
/* Responsive Styles */
@media only screen and (max-width: 768px) {
.btn {
font-size: 14px;
padding: 12px 24px;
}
}