-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (113 loc) · 2.96 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body{
margin:0;
padding:0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.flex-container{
display: flex;
padding: 20px;
}
.flex-container a{
background-image: linear-gradient(to left, orange,red);
text-decoration: none;
padding: 15px 40px;
border-radius: 5px;
color:#fff;
font-weight: bold;
}
.flex-container.bg-img{
background-image: url(images/top-banner.png);
background-repeat: no-repeat;
}
.first-text-div{
width:52%;
margin-left: 50px;
}
.first-text-div h1{
font-size: 50px;
font-weight: bolder;
}
.first-text-div h1 span.myname{
background: linear-gradient(to right, red,blue,green);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
.first-text-div h3{
font-size: 25px;
font-weight: bolder;
}
.first-text-div p{
font-size: 15px;
font-weight:500;
color:#000;
text-align: justify;
line-height: 20px;
word-spacing: 3px;
margin-bottom: 30px;
}
.first-img-div{
width:48%;
margin-left: 80px;
}
.first-img-div img{
width:90%
}
.extra-design{
padding-right: 80px;
}
.dream-big{
background-image: url(images/dream-bg.png);
background-repeat: no-repeat;
background-position: right bottom;
background-size: 7%;
}
/* experiance section*/
.experience-area{
background-image:url(images/exp-bg.png);
background-repeat: no-repeat;
background-position: left center;
background-size: 150px;
padding:40px
}
.experience-area h2{
text-transform: capitalize;
font-size: 30px;
font-weight: bold;
}
.single-experience {
background: white;
border-radius: 5px;
height: 310px;
box-shadow: 10px 10px 40px grey;
}
#full-stack {
border-left: 7px solid;
border-image: linear-gradient(180deg, lightSalmon, tomato);
border-image-slice: 1;
padding:20px;
}
#baby-web {
border-left: 7px solid;
border-image: linear-gradient(180deg, blue, cyan);
border-image-slice: 1;
padding:20px;
}
.half-width {
width: 50%;
margin-left: 5%;
padding-left: 2%;
float: left;
}
.half-width h2{
background: linear-gradient(to right, red,green,blue);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
footer{
text-align: center;
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width:992px){.first-img-div{width:48%;margin-left:80px}.first-img-div img{width:90%;margin-top:150px}.single-experience{height:70%}.first-text-div h1{font-size:29px;margin-bottom:-20px}.first-text-div h3{font-size:18px;margin-top:50px}}@media only screen and (max-width:768px){.flex-container{flex-direction:column;width:93%}.first-img-div{order:1;width:75%;margin-top:-120px}.first-text-div{order:2;width:80%;text-align:center}.dream-big{background-image:none}.half-width{width:80%;margin-bottom:20px}}@media only screen and (max-width:600px){.mybtn2{padding:15px 25px!important}}