-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (125 loc) · 2.21 KB
/
style.css
File metadata and controls
126 lines (125 loc) · 2.21 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
body{
margin: 0;
padding: 0;
background: white;
font-family: sans-serif;
color: black;
}
body::before{
content: '';
position: absolute;
bottom: -23px;
right: -70px;
width: 400px;
height: 400px;
border-radius: 50%;
background: linear-gradient(to right,rgba(255, 255, 255, 0.342),rgb(17, 201, 0));
}
#icon{
position: absolute;
right: 100px;
width: 30px;
content: '';
height: 16px;
top: 20px;
color: 2px solid black;
border-radius: 22px;
border: 2px solid;
cursor: pointer;
}
#icon.night0{
border: 2px solid white;
}
body.night1{
background: rgb(46, 46, 46);
color: white;
}
#icon::before{
position: absolute;
content: "";
top: 0px;
left: 1px;
width: 16px;
content: '';
height: 16px;
background: black;
border-radius: 50%;
transition: 0.5s;
}
#icon.night0::before{
background: white;
left: 16px;
}
.line{
font-size: 6vh;
text-align: center;
margin: 30px;
margin-top: 50px;
color: rgb(17, 201, 0);
border-bottom: 1px rgb(17, 201, 0);
}
.card{
display: grid;
grid-template-columns: 25% 75%;
position: absolute;
margin-top: 60px;
margin-left:12.5%;
margin-right:12.5%;
box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
inset 2px 2px 2px -1px rgba(160, 160, 160, 0.726);
width: 75%;
background: rgba(255, 255, 255, 0.301);
border-radius: 7px;
transition: 1s;
padding: 20px;
}
.card:hover{
transform: scale(1.02);
}
.card.night2{
background: rgba(63, 63, 63, 0.301);
}
.dp{
width: 100%;
}
.dp img{
width: 100%;
border-radius: 10px;
transition: 1s;
}
.bio{
border-right: 5px solid rgb(17, 201, 0);
padding: 1em;
}
h2{
color: rgb(17, 201, 0);
text-align: center;
}
p{
color: black;
}
.social{
display: flex;
justify-content: space-around;
align-items: center;
}
.soc{
color: rgb(17, 201, 0);
transition: 0.5s;
font-size: 25px;
}
.soc:nth-child(1):hover{
color: rgb(161, 161, 161);
}
.soc:nth-child(2):hover{
color: #0077b5;
}
.soc:nth-child(3):hover{
color: #cd486b
}
.soc:nth-child(4):hover{
color: #4267B2;
}
p.night3{
color: white;
}