-
-
Notifications
You must be signed in to change notification settings - Fork 617
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·173 lines (160 loc) · 2.99 KB
/
style.css
File metadata and controls
executable file
·173 lines (160 loc) · 2.99 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/* 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;
}
/*Header*/
.logo {
display: flex;
align-items: center; /* Center the logo vertically within the header */
}
.karam-logo {
width: 30px;
height: 30px; /* Set height to maintain aspect ratio */
margin-right: 620px; /* Add spacing between logo and nav items */
}
.nav {
display: flex;
justify-content: flex-end; /* Align items to the left */
margin-left: 2em; /* Add left margin for spacing */
}
.nav-item {
list-style-type: none;
margin-right: 1em;
}
.nav-link {
text-decoration: none;
color: black;
margin-right: 1em;
}
.nav-link:hover {
color: orangered;
}
.nav li {
text-decoration: none;
gap: 1px;
float: left;
}
.nav ul {
list-style-type: none;
margin-left: 1em;
}
/*hero*/
.hero {
padding: 200px;
background-size: cover;
background-image: url("/img/first-background.jpg");
}
.hero h1 {
margin-left: 340px;
color: white;
}
.hero p {
margin-left: 280px;
font-size: 20px;
margin-top: 0px;
color: white;
}
.hero-button {
padding: 0.4em 1em;
border-style: none;
border-radius: 2px;
background-color: orangered;
color: white;
margin-left: 400px;
}
/*icon*/
.section {
margin-top: 80px;
}
.section-p {
font-size: 38px;
text-align: center;
}
.icon-imag {
margin-left: 3em;
width: 100px;
}
.icon-discribtion {
font-size: 20px;
}
.section-icon {
display: flex;
padding-left: 7em;
}
.section-icon div {
padding-left: 7em;
padding-bottom: 3em;
}
.homepage-img {
max-width: 100%;
max-height: 100%;
}
.article {
display: flex;
align-items: center;
background-color: rgb(245, 220, 224);
}
.article-p {
}
.article-quote {
font-size: 30px;
font-style: italic;
padding-left: 2.5em;
color: rgb(31, 31, 31);
text-align: center;
}
.article-button {
margin-left: 12em;
background-color: orangered;
color: white;
padding: 15px;
border: none;
}
.article-button:hover {
background-color: white;
color: orangered;
}
/*footer*/
.social-media-icon {
border: 1px solid rgb(118, 118, 118);
padding: 5px;
width: 30px;
border-radius: 25px;
margin-left: 7px;
cursor: pointer;
}
/*footer*/
.social-media-icon {
border: 1px solid rgb(118, 118, 118);
padding: 5px;
width: 30px;
border-radius: 25px;
margin-left: 7px;
cursor: pointer;
}
/*footer*/
.social-media-icon {
border: 1px solid rgb(185, 179, 179);
padding: 5px;
width: 30px;
border-radius: 25px;
margin-left: 7px;
cursor: pointer;
}
footer h3 {
text-align: center;
}
footer p {
color: rgb(178, 177, 177);
text-align: center;
}
/**
* 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'
*/