-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylees_2.css
143 lines (123 loc) · 2.3 KB
/
stylees_2.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
/* General Styles */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
line-height: 1.6;
}
/* Header */
.header {
background-color: #007BFF;
color: #fff;
padding: 1rem;
text-align: center;
}
.header a {
color: #fff;
text-decoration: none;
}
.header a:hover {
color: #e0e0e0;
}
/* Main Content */
.main {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
padding: 2rem;
}
/* Project Section */
.project {
background-color: #fff;
border: 1px solid #ddd;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
flex-basis: 30%;
margin: 2%;
padding: 1rem;
transition: transform 0.3s;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
border-radius: 8px;
overflow: hidden;
}
.project:hover {
transform: scale(1.05);
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}
.project img {
max-width: 100%;
height: auto;
border-radius: 8px;
}
.project h3 {
margin: 0 0 0.5rem 0;
}
.project p {
margin: 0;
}
.project figure {
margin: 1rem 0 0 0;
}
.project figure img {
max-width: 100%;
width: 400px;
height: 400px;
border: 2px solid #ddd;
border-radius: 8px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.project figure p {
margin: 0.5rem 0 0 0;
}
.project figure a {
display: inline-block;
margin-top: 0.5rem;
font-size: 20px;
color: #007BFF;
text-decoration: none;
font-weight: bold;
}
.project figure a:hover {
text-decoration: underline;
}
.project .p-img {
border-radius: 100%;
border: 2px solid #007BFF;
width: 50px;
height: auto;
}
/* Contact Section */
.contact {
background-color: #007BFF;
color: #fff;
padding: 1rem;
text-align: center;
}
.contact a {
background-color: #fff;
border: none;
color: #087efc;
padding: 0.5rem 1rem;
text-decoration: none;
display: inline-block;
margin-top: 0.5rem;
border-radius: 8px;
transition: background-color 0.3s ease;
}
.contact a:hover {
background-color: #e0e0e0;
}
/* Media Queries */
@media (max-width: 768px) {
.project {
flex-basis: 45%;
}
}
@media (max-width: 480px) {
.project {
flex-basis: 100%;
}
}