-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
176 lines (156 loc) · 3.17 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
section{
min-height: 100vh;
width: 100%;
background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(eduford_img/banner.png);
background-size: cover;
background-position: center;
position: relative;
}
section nav{
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5% 6%;
}
section nav img{
width: 140px;
margin-top: 15px;
}
section nav .links{
flex: 1;
text-align: right;
}
section nav .links ul li{
text-decoration: none;
list-style: none;
display: inline-block;
padding: 8px 20px;
position: relative;
}
section nav .links ul li a{
text-decoration: none;
color: #fff;
font-size: 13px;
}
section nav .links ul li ::after{
content: '';
width: 0%;
height: 2px;
background: #ff4433;
display: block;
margin: auto;
transition: .5s;
}
section nav .links ul li :hover::after{
width: 100%;
}
/* text box section */
.text-box{
width: 90%;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.text-box h1{
font-size: 62px;
margin: 0;
}
.text-box p{
margin: 35px 20px 60px 20px;
font-size: 14px;
font-weight: 300;
line-height: 1.5;
letter-spacing: 0.5px;
}
.text-box .visit-btn{
border: 3px solid #fff;
padding: 13px 45px;
background: transparent;
color: #fff;
font-size: 12px;
font-weight: 400;
text-decoration: none;
cursor: pointer;
transition: 1s;
}
.text-box .visit-btn:hover{
background-color: #3366ff;
border-color: #3366ff;
}
/* text box end*/
@media(max-width :700px){
.text-box h1{
font-size: 50px;
}
.text-box p{
font-size: small;
margin: 35px 0px 60px 0px;
}
section nav img{
width: 115px;
margin-top: 15px;
}
section nav .links ul li{
display: block;
text-align: left;
}
.links{
position: absolute;
height: 100vh;
width: 330px;
top: 0;
right: 0;
background-color: #ff4433;
display: block;
z-index: 2;
}
}
/* section 2 course */
.course{
display: block;
width: 100%;
min-height: 100vh;
position: relative;
top: 0;
}
.courses{
width: 90%;
position: absolute;
top: 25%;
left: 50%;
background-color: #fff;
transform: translate(-50%,-50%);
text-align: center;
}
.course .courses h1{
font-size: 40px;
font-weight: 600;
}
.course .courses p{
margin: 20px;
color: #777;
font-weight: 300;
font-size: 16px;
}
.course .graduation{
width: 90%;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.course .graduation .grad{
width: 300px;
height: 500px;
background-color: antiquewhite;
border-radius: 10px;
}
/* section 2 course end */