forked from CodeYourFuture/HTML-CSS-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·128 lines (119 loc) · 2.42 KB
/
style.css
File metadata and controls
executable file
·128 lines (119 loc) · 2.42 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
}
/* top link and logo */
header{
display: flex;
justify-content: space-between;
margin-bottom: 10px;
align-items: center;
padding:1em;
margin: auto 20px;
}
.logo-img{
height: 50px;
width: auto;
}
.container{
display: flex;
list-style: none;
}
.con-link{
text-decoration: none;
color: gray;
font-stretch: expanded;
}
.con-item,a{
padding:0 5px;
margin: 0 10px;
font-size: large;
}
.con-item:hover,a:hover{
color: rgb(241, 94, 9);
font-weight: bold;
}
.section{
background-image: url(../img/first-background.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
height:70vh ;
text-transform: capitalize;
font-stretch: ultra-expanded;
font-size: 1.5em;
}
.but{
color: #fff;
background-color: orangered;
border-radius: 5px;
padding: 10px 30px;
}
/* main part */
.main-img{
height:150px;
}
.article{
display: flex;
justify-content: center;
align-items: center;
}
.img-text{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
color: gray;
}
.column{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px 30px;
margin-top: 100px;
}
.top-img-txt{
text-align: center;
font-weight: lighter;
font-size: 2.5em;
margin-top: 50px;
margin-bottom: -50px;
font-stretch: ultra-expanded;
}
/* footer */
footer{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 0.7em;
margin-bottom: 20px;
}
.social-img{
height: 15px;
padding: auto 5px;
margin: auto 10px;
}
.social-media{
display: flex;
flex-direction: row;
}
.cc-right{
color: lightgray;
}
/**
* 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.
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/