-
Notifications
You must be signed in to change notification settings - Fork 78
/
style.css
98 lines (82 loc) · 3.3 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
*{
margin: 0;
padding: 0; /* providing default margin and padding to be 0 */
}
/* home page styling */
.homePage{ /* selecting div with class "homePage" and adding styling to it */
display: flex; /* creating a flex box */
justify-content: space-around;
height: 100vh;
align-items: center;
}
.myImage img{ /* selecting div with class "myImage" then navigating to img tag inside it, and adding styling to it */
height: 18rem;
width: auto;
border-radius: 1rem;
}
.name{ /* selecting div with class "name" and adding styling to it */
font-size: 3rem;
}
.intro p{ /* selecting div with class "intro" then navigating to p tag inside it, and adding styling to it */
font-size: 2rem;
line-height: 3rem;
}
.your_button{ /* selecting button with class "your_button" and adding styling to it */
font-size: 1rem;
padding: 5px;
cursor: pointer;
background-color: rgb(42, 42, 255);
border-radius: 5px;
width:100px;
height:50px;
border:2px solid white;
color:white;
text-transform: capitalize;
}
.your_button:hover{ /* here we add a special animation to button when it is hovered (hover: when a cursor roams in the specified setion it is the hover state for that element) */
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}
/* about me */
.about{ /* selecting div with class "about" and adding styling to it */
min-height: 60vh;
}
.about_heading{ /* selecting div with class "about_heading" and adding styling to it */
font-size: 3rem;
text-align: center;
text-decoration: underline;
font-weight:600;
}
/* contact */
.contact_sec{ /* selecting div with class "contact_sec" and adding styling to it */
height: 60vh;
width:70vw;
margin: 0 auto;
}
.contact_heading{ /* selecting div with class "contact_heading" and adding styling to it */
font-weight:600;
font-size: 3rem;
text-align: center;
text-decoration: underline;
}
.contact_info{ /* selecting div with class "contact_info" and adding styling to it */
font-size:1.3em;
font-weight: 600;
margin-top:10vh;
}
.data{ /* selecting div with class "data" and adding styling to it */
font-weight:initial;
}
.Email,.mobile_no,.linkdin,.github,.others{ /* selecting many divs with the class listed and adding same styling to all of them */
padding:2vh 0;
}
span a{ /* selecting span and then navigating to a tag in it and adding styling to it */
color:black;
}
span a:hover{ /* here we add a special animation to anchor tag when it is hovered (hover: when a cursor roams in the specified setion it is the hover state for that element) */
color:blue;
}
.para{ /* selecting div with class "para" and adding styling to it */
width:70vw;
margin:8vh auto;
font-size: 2em;
}