-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (91 loc) · 1.64 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
/* ---------
top section
------------ */
body{
background-color: lightblue;
}
section{
background-color: white;
border-radius: 20px;
padding-left: -30px;
padding-right: -30px;
}
.author-details img{
height: 60px;
}
.author-details{
display: flex;
align-items: center;
}
.author-info{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 50px;
place-items: center;
}
.name-adjust{
margin-left: 20px;
}
.heading-highlight{
color: forestgreen;
margin-left: 30px;
}
.blogs{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 50px;
}
.blog{
display: flex;
margin-left: 5%;
}
.blog img{
width: 250px;
}
.blog-details{
margin-left: 3%;
}
.anchor-style{
text-decoration: none;
font-weight: 700;
color: white;
background-color: green;
border-radius: 20px;
padding: 5px;
}
.course img{
width: 300px;
}
.courses{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 50px;
margin-left: 2%;
}
.fas.fa-star{
color: gold;
}
.fas.fa-star-half-alt{
color: gray;
}
.clock-highlight{
background-color: hotpink;
width: 20%;
padding: 8px;
border-radius: 20px;
}
@media screen and (max-width:688px) {
.author-info, .blogs, .courses {
grid-template-columns: repeat(1, 1fr);
}
}
@media only screen and (min-width:689px) and (max-width:992px) {
.author-info, .blogs, .courses {
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (min-width:993px) and (max-width:1312px) {
.author-info, .blogs, .courses {
grid-template-columns: repeat(3, 1fr);
}
}