-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticles.css
128 lines (128 loc) · 2.87 KB
/
articles.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
/* Articles Header */
#articlesHeader .image-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
height: 500px;
background-position: center;
background-size: cover;
background-image: url("images/keysTools.png");
background-attachment: fixed;
}
#articlesHeader .overlay {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
text-align: center;
flex-direction: column;
width: 100%;
height: 500px;
background: rgba(0, 0, 0, 0.1); /* Add a background overlay */
}
#articlesHeader h1 {
font-size: 25px;
font-weight: 800;
font-family: "Poppins", sans-serif;
color: white;
width: 50%;
margin: 30px;
}
#articlesHeader p {
font-size: 18px;
font-weight: 600;
font-family: "Poppins", sans-serif;
color: white;
width: 50%;
}
/* ARTICLES FEATURES */
#articlesFeatures .container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#articlesFeatures .content {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 100px;
}
#articlesFeatures .card {
display: flex;
align-items: center;
justify-self: center;
flex-direction: row;
height: auto;
background-color: #F5F5F5;
margin: 40px 0px;
}
#articlesFeatures .card .image-container {
width: 50%; /* Adjust width as needed */
height: auto; /* Adjust height as needed */
overflow: hidden; /* Hide overflow */
}
#articlesFeatures .card .image-container img {
width: 100%; /* Ensure image fills container */
height: auto; /* Maintain aspect ratio */
transition: transform ease-in-out 0.5s; /* Transition for zoom effect */
}
#articlesFeatures .card .image-container:hover img {
transform: scale(1.1); /* Zoom in effect on hover */
}
#articlesFeatures .card .content-container {
width: 100%;
}
#articlesFeatures .card .content-container h1 {
color: #333333;
font-size: 30px;
font-weight: 700;
margin: 30px;
}
#articlesFeatures .card .content-container p {
color: #747474;
font-size: 17px;
font-weight: 400;
margin: 30px;
}
#articlesFeatures .card .content-container p a {
color: #747474;
font-size: 20px;
text-decoration: none;
}
#articlesFeatures .card .content-container p a:hover {
text-decoration: underline;
}
#articlesFeatures button {
background-color: #ff6600;
border: 1.5px solid #ff6600;
padding: 15px;
margin: 15px;
width: 300px;
color: white;
border-radius: 50px;
font-size: 17px;
transition: all ease-in-out 0.5s;
}
#articlesFeatures button:hover {
color: black;
background-color: white;
}
/* REPONSIVNESS */
@media (max-width: 860px) {
#articlesHeader .overlay p {
width: 90%;
}
#articlesFeatures .content {
width: 90%;
margin: 0;
}
#articlesFeatures .content .card {
width: 100%;
flex-direction: column;
text-align: center;
}
}