-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
112 lines (100 loc) · 1.56 KB
/
style.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
*{
margin: 0;
padding: 0;
}
body{
background-color: #12172b;
font-family: 'Work Sans', sans-serif;;
}
.container{
margin: 20px 40px;
color:#fff;
}
.head{
font-size: 60px;
color: #fff;
}
.head span{
font-style: italic;
font-size: 30px;
}
.box{
display: grid;
grid-template-columns: repeat(5, 1fr);
gap:50px;
margin-top: 20px;
}
.box .profile-pic{
height: 210px;
width:210px;
border-radius: 50%;
filter: grayscale(100%);
cursor: pointer;
transition: 400ms;
}
.profile-pic:hover{
filter: grayscale(0);
}
.title{
margin-top: 30px;
font-size: 25px;
}
.box h5{
font-size: 16px;
font-weight: 100;
letter-spacing: 4px;
color: #ccc;
}
.box p{
font-size: 16px;
margin-top: 20px;
text-align: justify;
}
.attribute{
font-size: 14px;
color:#fff;
text-align: center;
}
@media only screen and (max-width: 1150px){
.box{
grid-template-columns: repeat(2, 1fr);
gap:30px;
}
.head{
font-size: 35px;
}
.box .profile-pic{
height: 200px;
width:200px;
align-items: center;
}
.title, .box h5, .box p{
text-align: center;
}
}
@media only screen and (max-width: 450px){
.box{
grid-template-columns: repeat(1, 1fr);
gap:30px;
align-items: center;
}
.head{
color: #fff;
text-align: center;
font-size: 30px;
}
.head span{
font-size: 18px;
}
.title{
font-size: 18px;
}
.box p{
font-size: 14px;
}
.box .profile-pic{
height: 150px;
width:150px;
align-items: center;
}
}