-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.css
More file actions
125 lines (110 loc) · 2.39 KB
/
layout.css
File metadata and controls
125 lines (110 loc) · 2.39 KB
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
/* STUDIO by DOSAYGO Layout - Modern Brutalist Plaza */
/* Defines the monumental plaza layout with dynamic shapes and perspective */
/* Reset and Base Layout */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
overflow-x: hidden;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Plaza Ground with Perspective */
.plaza-ground {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
perspective: 1000px; /* Creates 3D perspective */
z-index: -1;
}
/* Concrete Slabs with Angles and Shadows */
.slab {
position: absolute;
background: #4A4A4A; /* Concrete gray */
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); /* Noon sun shadows */
transform-style: preserve-3d;
animation: float 15s ease-in-out infinite; /* Subtle movement */
}
.slab-1 {
width: 600px;
height: 300px;
top: 20%;
left: 10%;
transform: rotateX(60deg) rotateZ(45deg);
}
.slab-2 {
width: 500px;
height: 200px;
top: 50%;
left: 60%;
transform: rotateX(60deg) rotateZ(-30deg);
}
.slab-3 {
width: 400px;
height: 400px;
top: 70%;
left: 30%;
transform: rotateX(60deg) rotateZ(15deg);
}
.slab-4 {
width: 700px;
height: 150px;
top: 30%;
left: 70%;
transform: rotateX(60deg) rotateZ(60deg);
}
/* Subtle Floating Animation for Slabs */
@keyframes float {
0%, 100% { transform: translateY(0) rotateX(60deg); }
50% { transform: translateY(20px) rotateX(60deg); }
}
/* Main Content - Floating Glass Tablet */
main {
max-width: 1200px;
margin: 2rem auto;
padding: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
position: relative;
z-index: 1;
}
article {
background: rgba(255, 255, 255, 0.1); /* Glassmorphism effect */
border: 3px solid #A9A9A9; /* Silver border */
padding: 2rem;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
border-radius: 10px;
backdrop-filter: blur(5px);
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
article:hover {
transform: translateY(-5px);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
position: relative;
z-index: 1;
}
/* Responsive Design */
@media (max-width: 768px) {
main {
grid-template-columns: 1fr;
}
.slab-1, .slab-2, .slab-3, .slab-4 {
width: 300px;
height: 150px;
}
}