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
107 lines (91 loc) · 1.65 KB
/
style.css
File metadata and controls
107 lines (91 loc) · 1.65 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
99
100
101
102
103
104
105
106
107
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
html{
min-height: 100%;
}
body{
background-image: linear-gradient(180deg, #EDF6F9, #83C5BE, #FFDDD2);
padding: 0 10px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #E29578;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover{
background-color: #006D77;
}
.hero-image {
background-image: url("../images/hero.jpg");
background-color: #006D77;
height: 500px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
margin-bottom: 10px;
}
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #006D77;
}
#herobutton {
background-color: #E29578;
color: whitesmoke;
padding: 10px 25px;
border-radius: 10px;
}
.mainpa{
border: 2px solid;
box-shadow: 2px 5px 4px grey;
background-color: lightgray;
text-align: center;
}
img{
max-width: 100%;
max-height: 100%;
}
.article{
display:flex
/* justify-content: space-around;*/
}
.first:hover {
background-color: grey;
}
.first :first-child {
color: darkgray;
}
.article div {
border: 1px black solid;
margin: 10px;
padding: 10px;
box-shadow: 2px 5px 4px grey;
}
footer {
text-align: center;
padding: 3px;
background-color: #E29578 ;
color: white;
}