forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (76 loc) · 1.4 KB
/
Copy pathstyle.css
File metadata and controls
98 lines (76 loc) · 1.4 KB
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
/* General Styling */
body{
font-family: 'Raleway', sans-serif;
text-align: justify;
font-size: 18px;
background-color: aliceblue;
}
#main{
background-color: azure;
border: 20px solid #bdc3c7;
padding: 20px;
max-width: 900px;
width: 80%;
margin: 20px auto;
}
.nav{
position: fixed;
right: 10px;
top: 5px;
font-size: 20px;
font-weight: 400;
}
/* Group Styling */
h1, h2, h3 {
text-align: center;
}
/* Individual Styling */
/* Hero images */
img{
width: 100%;
height: auto;
}
h3{
line-height: 0.001rem;
margin-bottom: 30px;
}
a{
color: blue;
text-decoration: none;
}
#footer{
text-align: center;
}
/* Styling Icons in the footer */
footer div a{
margin-left: 10px;
font-size: 30px;
color: black;
}
/* Pseudo Class Styling for the 1st article in main */
article:first-child {
color: rgb(24, 49, 24);
background-color: #e8f0f5;
padding: 5px;
font-style: italic;
}
/* styling hover state of the links */
a:hover {
background-color: rgb(36, 29, 29);
color: yellow;
text-decoration: solid;
}
/* ::after showing where to click */
article a::after {
content: "<--";
margin-left: 8px;
font-size: 1.3em;
color: rgb(214, 12, 12);
}
/* Line gradient Styling fro the horizontal line*/
.style {
margin-top: 10px;
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}