-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (113 loc) · 2.1 KB
/
Copy pathstyle.css
File metadata and controls
126 lines (113 loc) · 2.1 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
126
/* Define CSS variables for theme consistency */
:root {
--avatar-bg: #e6e0d6;
--light-bg: #f7f3f1;
--shadow: #c8b6a6;
--text: #3b2f23;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Vazirmatn', sans-serif;
}
body {
text-align: center;
background-color: var(--avatar-bg);
width: 100%;
height:auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
div.bio {
position: relative;
text-align: justify;
background-color: var(--light-bg);
max-width: 600px;
margin: 200px auto;
padding: 30px 270px 50px 30px;
border-radius: 30px 10px;
box-shadow: 0 0 40px var(--shadow);
}
div.bio p {
max-width: 400px;
color: var(--text);
}
div.call {
position: absolute;
top: -30px;
right: 30px;
left: 355px;
bottom: 30px;
background-color: var(--avatar-bg);
border-radius: 10px 30px;
line-height: 25px;
box-shadow: 0 0 40px var(--shadow);
overflow: hidden;
}
div.call img {
width: 100%;
height: 210px;
overflow: hidden;
padding-bottom: 10px;
}
/* Merge shared color settings */
div.call i,
div.call p {
color: var(--text);
}
div.call i {
display: block;
padding-right: 10px;
}
div.call p {
display: inline-block;
padding-right: 5px;
font-family: Arial;
}
.made {
padding: 0 0 1rem 0;
text-align: center;
}
.made a > i {
font-size: x-large;
}
.made a {
color: #6366f1;
text-decoration: none;
font-weight: bold;
padding: 0.3rem;
}
.made a:hover {
color: #4f51e5;
text-decoration: underline;
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
/* Adjust bio container margins, width, and padding */
div.bio {
margin: 20px;
max-width: 95%;
padding: 15px;
}
/* Remove absolute positioning from .call and adjust layout */
div.call {
position: static;
margin-top: 20px;
width: 100%;
/* Optional: adjust border radius if needed */
border-radius: 10px;
}
/* Adjust image sizing */
div.call img {
width: 100%;
height: auto;
}
/* Optionally adjust font sizes */
div.call i,
div.call p {
font-size: 0.9rem;
}
}