-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
152 lines (146 loc) · 3.14 KB
/
about.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
144
145
146
147
148
149
150
151
152
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
justify-content: center;
align-items: center;
min-height: 100vh;
background: #fff;
color: #161623;
font-family: sans-serif;
}
.img
{
height: 80px;
width: 80px;
background: black;
background: url("profile.png")no-repeat;
background-size: cover;
background-position: center;
border-radius: 50%;
position: absolute;
top: 10%;
left: 50%;
transform: translate(-50%,-50%);
}
.dark-mode{
background: #161623;
color: white;
}
.navbar nav button{
float: right;
padding: 10px;
border-radius: 10px;
background: linear-gradient(rgba(255, 0, 0, 0.76),rgba(255, 0, 255, 0.774));
color: #fff;
border: none;
}
.navbar nav ul{
width: 500px;
}
.navbar nav button:hover{
background: linear-gradient(#f00,#f0f);
padding: 12px;
}
.navbar{
width: 100%;
height: 15vh;
margin: auto;
display: flex;
align-items: center;
}
.logo{
width: 100px;
height: auto;
cursor: pointer;
z-index: 1;
}
nav{
flex:1;
padding-left: 30%;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 0px 15px;
}
nav ul li a{
text-decoration: none;
color: white;
background:linear-gradient(to bottom right,rgba(255, 0, 0, 0.699),rgba(255, 0, 255, 0.685));
border-radius: 10px;
padding:10px;
padding-left: 10px;
padding-right: 10px;
}
nav ul li a:hover{
background: linear-gradient(to bottom right,rgba(255, 0, 255, 0.685),rgba(255, 0, 0, 0.699));
transition: 1s;
border-style:groove ;
}
body::before{
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(#f00,#f0f);
clip-path:circle(30% at right 70%) ;
}
body::after{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(#2196f3,#e91e63);
clip-path:circle(20% at 10% 10%) ;
}
.container{
position: relative;
display: flex;
justify-content: center;
align-items: center;
max-width: 1200px;
flex-wrap: wrap;
z-index: 1;
top: 20px;
}
.container .card{
position: relative;
width: 950px;
height: 420px;
margin: 30px;
box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
border-radius: 15px;
background:rgba(255,255,255,0.1);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-left: 1px solid rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
}
.container .card .content{
padding: 20px;
text-align: center;
transform: translateY(-40px);
}
.container .card .content h2{
font-size: 60px;
font-weight: 700;
font-family: cursive;
color: rgb(28, 192, 241);
transform: translateY(30px);
}
.container .card .content h3{
font-size: 30px;
font-weight: 100;
transform: translateY(50px);
font-family: sans-serif;
}