forked from GDSC-IIIT-Kalyani/Student-Portfolio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
116 lines (114 loc) · 2.31 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
113
114
115
116
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
a{
text-decoration: none;
}
.hero{
width: 100%;
height: 100vh;
background: url(img/bg1.jpg);
background-size: cover;
}
nav{
display: flex;
align-items: center;
justify-content: space-between;
padding: 30px 100px;
}
.logo{
max-height: 60px;
}
nav ul li{
list-style: none;
display: inline-block;
padding: 10px 20px;
}
nav ul li a{
color: #186ebd;
position: relative;
padding: 5px 0;
}
nav ul li a:hover{
color: #fd4766;
}
nav ul li a:after{
content: "";
position: absolute;
left: 0;
width: 0;
height: 3px;
background: #fd4766;
transition: .3s;
bottom: 0;
}
nav ul li a:hover:after{
width: 100%;
}
.btn{
color: #0d0117;
font-size: 16px;
text-transform: uppercase;
letter-spacing: 2px;
padding: 16px 40px;
border-radius: 500px;
display: inline-block;
font-weight: 500;
transition: all .4s ease-in-out;
background-size: 152% 100%;
background: #fd4766;
border: 2px solid #fd4766;
}
.btn:hover{
background: transparent;
border-color: #fd4766;
color: #fd4766;
}
.content{
position: absolute;
top: 35%;
left: 8%;
}
.content .title{
color: #1f1f25;
font-size: 15px;
text-transform: uppercase;
letter-spacing: 4px;
display: inline-block;
margin-bottom: 20px;
background: linear-gradient(120deg, #1c99fe 20.69%, #7644ff 50.19%,#fd4766 79.69%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.content h1{
color: #186ebd;
font-size: 75px;
font-weight: 900;
line-height: 90px;
text-transform: inherit;
width: 120%;
}
.content h1 span{
color: #fd4766;
}
.content p{
width: 55%;
color: #757575;
margin-top: 25px;
margin-bottom: 30px;
}
@media only screen and (max-width: 700px){
nav {
width : 100%
}
body {
background: url(img/bg1.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
}