-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
194 lines (178 loc) · 3.7 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/* Common Styles */
body{
font-family: 'Otomanopee One', sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.capitalize{
text-transform: capitalize;
}
.links-button{
text-decoration: none;
background-image: linear-gradient(salmon, hotpink);
padding: .7rem 2.7rem;
border-radius: 7px;
color: white;
border: 2px solid black;
}
.links-button:hover{
color: navy;
}
.ub-color{
color: orange;
}
/* Welcome Section Styles */
h1{
font-size: 2rem;
}
.welcome-section{
display: flex;
align-items: center;
justify-content: center;
background-image: url(images/top-banner.png);
background-repeat: no-repeat;
width: 100%;
}
.top-detail {
width: 60%;
margin-left: auto;
}
.top-detail p {
margin-bottom: 2rem;
}
.top-img {
width: 30%;
margin-right: auto;
}
.top-img img {
margin-top: 1rem;
width: 100%;
}
/* Think Section Styles */
.think-section{
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: center;
background-image: url(images/dream-bg.png);
background-repeat: no-repeat;
background-position-x: right;
background-position-y: bottom;
margin-top: 4.5rem;
width: 100%;
}
.think-detail {
width: 60%;
margin-right: auto;
padding: 0rem 0 5rem 5rem;
}
.think-detail p {
padding: 1rem 0;
}
.think-img {
width: 30%;
margin-left: auto;
}
.think-img img {
margin-top: 1rem;
width: 90%;
}
/* expertise section styles */
.exp-sec-h1 {
display: inline-block;
margin-top: 100px;
color: slateblue;
font-weight: bold;
border-bottom: 3px dotted gray;
}
.expertise-section{
display: flex;
background-image: url(images/exp-bg.png);
background-repeat: no-repeat;
background-position: left;
margin-top: 50px;
}
.expertise-section div{
width: 45%;
height: 21.875rem;
margin-left: auto;
margin-right: auto;
border-top: 4px solid;
border-bottom: 4px solid;
border-radius: 15px;
border-image: linear-gradient(tomato, red);
border-image-slice: 1;
box-shadow: 10px 10px 40px 10px rgba(128, 128, 128, 0.835);
padding-left: 10px;
}
.expertise-section div h1,h3,p {
padding: 0 1rem;
}
.expertise-section div:hover{
transform: scale(.92);
transition: transform .7s ease-in-out;
box-shadow: 10px 10px 70px 20px rgba(128, 128, 128, 0.835);
}
footer p{
margin-top: 80px;
text-align: center;
}
footer a{
display: inline-block;
text-decoration: none;
margin-bottom: 16px;
color: black;
padding: 10px;
}
footer i:hover{
color: dodgerblue;
}
/* media queries */
@media only screen and (max-width: 988px){
/* welcome section and styles */
.welcome-section {
flex-direction: column-reverse;
max-width: 100%;
padding: 0px;
}
.welcome-section h1, .think-section h1 {
font-size: 2rem;
}
.welcome-section h2, .think-section h2 {
font-size: 1.5rem;
}
.welcome-section p, .think-section p {
font-size: 1rem;
}
.top-detail, .think-detail {
padding-bottom: 5rem;
margin: 1rem auto;
text-align: center;
width: 95%;
}
.top-img, .think-img {
margin: 1rem auto;
width: 95%;
}
.top-img img, .think-img img {
width: 90%;
}
.think-section {
flex-direction: column-reverse;
max-width: 100%;
}
.think-detail {
padding: 0;
padding-bottom: 1rem;
}
/* expertise section styles */
.expertise-section {
flex-direction: column;
}
.expertise-section div {
height: auto;
width: 88%;
margin-bottom: 4rem;
}
}