-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcourses_style.css
93 lines (91 loc) · 1.79 KB
/
courses_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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Fredoka', sans-serif;
list-style: none;
text-decoration: none;
}
:root {
--bg-color: #1f1f21;
--text-color: #fff;
--main-color: #FF7979;
--big-font: 7rem;
--p-font: 1.1rem;
}
body{
background: var(--bg-color) center/cover no-repeat;
background-attachment: fixed;
color: var(--text-color);
overflow-x: hidden;
}
h2{
text-align: center;
}
.lecturers{
width: 100%;
padding: 100px 0px;
}
.title h2{
color: var(--text-color);
font: 100px;
width: 1130px;
margin: 30px auto;
text-align: center;
}
.box{
display: flex;
float: left;
justify-content: center;
align-items: center;
min-height: 400px;
flex-wrap: wrap;
}
.card{
height: 365px;
width: 335px;
background: #9c9a9b;
padding: 20px 35px;
border-radius: 20px;
margin: 15px;
position: relative;
overflow: hidden;
text-align: center;
}
.card img{
max-width: auto;
max-height: 40%;
}
.card i{
font-size: 50px;
display: block;
text-align: center;
margin: 25px 0px;
color: var(--main-color);
}
h5{
color: var(--text-color);
font-size: 23px;
margin-bottom: 15px;
}
.pra p{
color: var(--text-color);
font-size: 16px;
line-height: 27px;
margin-bottom: 25px;
}
.card .button{
background-color: var(--main-color);
color: var(--text-color);
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 13px 30px;
border-radius: 30px;
transition: .4s;
}
.card .button:hover{
background-color: transparent;
border: 2px solid var(--main-color);
cursor: pointer;
}