File tree Expand file tree Collapse file tree 4 files changed +147
-33
lines changed Expand file tree Collapse file tree 4 files changed +147
-33
lines changed Original file line number Diff line number Diff line change
1
+ < p >
2
+ < a href ="" class ="linkedin "> LinkedIn Jobs</ a >
3
+ </ p >
4
+ < p >
5
+ < a href ="" class ="glassdoor "> Glassdoor</ a >
6
+ </ p >
7
+ < p >
8
+ < a href ="" class ="indeed "> Indeed</ a >
9
+ </ p >
10
+
11
+ < style >
12
+ a {
13
+ padding : 5px ;
14
+ text-decoration : none;
15
+ transition : background-color 0.5s ,
16
+ font-size 0.5s ;
17
+ font-size : 16px ;
18
+ }
19
+
20
+ a : hover {
21
+ font-size : 15px ;
22
+ }
23
+
24
+ .linkedin {
25
+ background-color : dodgerblue;
26
+ color : white;
27
+ }
28
+
29
+ .linkedin : hover {
30
+ background-color : rgb (83 , 170 , 255 );
31
+ }
32
+
33
+ .linkedin : active {
34
+ background-color : rgb (148 , 201 , 255 );
35
+ }
36
+
37
+ .glassdoor {
38
+ background-color : forestgreen;
39
+ color : white;
40
+ }
41
+
42
+ .glassdoor : hover {
43
+ background-color : rgb (63 , 175 , 63 );
44
+ }
45
+
46
+ .glassdoor : active {
47
+ background-color : rgb (121 , 224 , 121 );
48
+ }
49
+
50
+ .indeed {
51
+ background-color : sienna;
52
+ color : white;
53
+ }
54
+
55
+ .indeed : hover {
56
+ background-color : rgb (174 , 100 , 65 );
57
+ }
58
+
59
+ .indeed : active {
60
+ background-color : rgb (222 , 146 , 111 );
61
+ }
62
+ </ style >
Original file line number Diff line number Diff line change
1
+ < p class ="title ">
2
+ Hades | Hades II
3
+ </ p >
4
+ < p class ="description ">
5
+ The subreddit for Hades and Hades II, the godlike rogue-likes from Supergiant Games.
6
+ </ p >
7
+ < p class ="text-bold ">
8
+ 73
9
+ </ p >
10
+ < p class ="online-indicator ">
11
+ < img src ="https://dimal-dev.github.io/html-css/assets/green-round-dot.png " class ="online-image ">
12
+ Online
13
+ </ p >
14
+ < p class ="sidebar-poster-text ">
15
+ Sidebar Image
16
+ </ p >
17
+ < img src ="https://dimal-dev.github.io/html-css/reddit/assets/img/sidebar-image-1.jpg " class ="sidebar-poster-image ">
18
+
19
+ < style >
20
+ .sidebar-poster-image {
21
+ width : 270px ;
22
+ }
23
+
24
+ .online-image {
25
+ width : 8px ;
26
+ }
27
+
28
+ .online-indicator {
29
+ font-style : italic;
30
+ font-size : 14px ;
31
+ }
32
+
33
+ .text-bold {
34
+ font-weight : bold;
35
+ font-size : 14px ;
36
+ }
37
+
38
+ .description {
39
+ color : grey;
40
+ width : 270px ;
41
+ line-height : 22px ;
42
+ }
43
+
44
+ .title {
45
+ font-weight : bold;
46
+ }
47
+
48
+ .sidebar-poster-text {
49
+ text-transform : uppercase;
50
+ color : grey;
51
+ }
52
+ </ style >
Original file line number Diff line number Diff line change 8
8
< a href ="" class ="indeed "> Indeed</ a >
9
9
</ p >
10
10
11
+
12
+
11
13
< style >
12
14
a {
13
15
text-decoration : none;
14
16
}
15
17
16
18
a : hover {
17
19
text-decoration : underline;
18
- font-weight : bold;
19
- font-style : italic;
20
- font-size : 20px ;
21
- text-transform : uppercase;
22
- }
23
-
24
- .linkedin {
25
- color : dodgerblue;
26
- }
27
-
28
- .linkedin : hover {
29
- color : royalblue;
30
- }
31
-
32
- .linkedin : active {
33
- color : blue;
34
20
}
35
21
36
22
.glassdoor {
56
42
.indeed : active {
57
43
color : rosybrown;
58
44
}
45
+
46
+ .linkedin {
47
+ color : dodgerblue;
48
+ }
49
+
50
+ .linkedin : hover {
51
+ color : royalblue;
52
+ font-weight : bold;
53
+ font-style : italic;
54
+ font-size : 20px ;
55
+ text-transform : uppercase;
56
+ }
57
+
58
+ .linkedin : active {
59
+ color : blue;
60
+ }
59
61
</ style >
Original file line number Diff line number Diff line change 1
1
< p >
2
2
Paragraph 1
3
3
</ p >
4
-
5
4
< p >
6
5
Paragraph 2
7
6
</ p >
8
-
9
7
< img src ="../tutorial-03/images/icons/community-icon-1.png ">
10
8
11
9
< style >
12
- p {
13
- color : royalblue;
14
- font-size : 25px ;
10
+ img {
11
+ width : 50px ;
15
12
}
16
13
17
- p : hover {
18
- text-decoration : underline ;
19
- cursor : crosshair ;
14
+ img : hover {
15
+ width : 55 px ;
16
+ cursor : pointer ;
20
17
}
21
18
22
- p : active {
23
- font-size : 23 px ;
19
+ img : active {
20
+ width : 52 px ;
24
21
}
25
22
26
- img {
27
- width : 100px ;
23
+ p {
24
+ color : royalblue;
25
+ font-size : 16px ;
28
26
}
29
27
30
- img : hover {
31
- width : 110 px ;
32
- cursor : pointer ;
28
+ p : hover {
29
+ text-decoration : underline ;
30
+ cursor : crosshair ;
33
31
}
34
32
35
- img : active {
36
- width : 105 px ;
33
+ p : active {
34
+ font-size : 15 px ;
37
35
}
38
36
</ style >
You can’t perform that action at this time.
0 commit comments