-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (37 loc) · 788 Bytes
/
styles.css
File metadata and controls
45 lines (37 loc) · 788 Bytes
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply flex min-h-screen justify-center
bg-cover bg-center h-screen;
}
button {
@apply bg-blue-400 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full;
}
}
@layer components {
.my-photo {
@apply w-40 h-40 lg:w-60 lg:h-60 rounded-full object-cover
border-x-blue-400 border-4
hover:scale-110 transition-transform;
}
.container {
@apply my-8;
}
.profile {
@apply flex flex-col items-center relative;
}
.portfolio {
@apply w-10/12 lg:w-[75%] lg:h-auto mx-auto grid grid-cols-1 lg:grid-cols-3 gap-8;
}
.card {
@apply bg-gray-950/20 my-2 rounded-xl;
}
.card img {
@apply rounded-xl;
}
.blog-content {
@apply border-b border-black;
}
}