-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
107 lines (89 loc) · 1.74 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@1&display=swap');
* {
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
}
/* Set the display, width, and alignment for the left and right parts of the navigation bar */
.first-section {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
background-color: #1f2937;
}
/* Style the header logo */
#header-logo{
font-size: 24px;
color: #f9faf8;
}
/* Style the navigation links */
.header-link {
font-size: 18px;
color: #e5e7eb;
}
/* The left part of the navigation bar */
.navbar-left {
display: flex;
align-items: center;
justify-content: flex-start;
background-color: #1f2937;
}
/* The right part of the navigation bar */
.navbar-right {
display: flex;
justify-content: flex-end;
align-items: center;
background-color: #1f2937;
}
/* Set the display and flex direction for the navigation links */
ul {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
list-style: none;
width: 20%;
}
.section-1 {
border: 4px solid lime;
min-height: 200px;
width: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
}
.section-image {
flex-basis: 50%;
display: flex;
justify-content: flex-end;
align-items: center;
}
.section-text {
flex-basis: 50%;
display: flex;
justify-content: center;
flex-direction: column;
padding: 0 20px;
}
.section-2,.section-3, .section-4, .inner-footer {
border: 4px solid lime;
min-height: 200px;
width: 100%;
box-sizing: border-box;
display: inline-block;
}
.h1 {
font-size: 48px;
}
picture {
display: block;
}
img {
display: block;
max-width: 100%;
height: auto;
}