GarGerry commited on
Commit
44d479c
·
verified ·
1 Parent(s): 843408d

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +52 -14
style.css CHANGED
@@ -1,20 +1,25 @@
1
 
2
- /* General Reset */
3
- body, html {
4
  margin: 0;
5
  padding: 0;
6
  box-sizing: border-box;
 
 
 
7
  font-family: Arial, sans-serif;
8
  background: black;
9
  color: white;
 
 
10
  }
11
 
12
  .header {
13
  display: flex;
14
  justify-content: space-between;
15
  align-items: center;
16
- padding: 10px 20px;
17
- background: rgba(0, 0, 0, 0.8);
 
18
  position: sticky;
19
  top: 0;
20
  z-index: 1000;
@@ -25,30 +30,63 @@ body, html {
25
  font-weight: bold;
26
  }
27
 
28
- .nav-menu ul {
29
- list-style: none;
30
  display: flex;
31
- gap: 20px;
 
 
 
 
32
  }
33
 
34
- .nav-menu a {
35
  text-decoration: none;
36
  color: white;
37
- font-weight: bold;
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
 
40
  .section {
41
- padding: 50px 20px;
42
  text-align: center;
43
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
44
  }
45
 
46
- .portfolio-item {
47
- margin: 20px 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
  .footer {
51
  text-align: center;
52
  padding: 20px;
53
- background: rgba(0, 0, 0, 0.9);
 
54
  }
 
1
 
2
+ * {
 
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
+ }
7
+
8
+ body {
9
  font-family: Arial, sans-serif;
10
  background: black;
11
  color: white;
12
+ line-height: 1.6;
13
+ margin: 0;
14
  }
15
 
16
  .header {
17
  display: flex;
18
  justify-content: space-between;
19
  align-items: center;
20
+ padding: 20px;
21
+ background: black;
22
+ border-bottom: 1px solid white;
23
  position: sticky;
24
  top: 0;
25
  z-index: 1000;
 
30
  font-weight: bold;
31
  }
32
 
33
+ .navigation ul {
 
34
  display: flex;
35
+ list-style: none;
36
+ }
37
+
38
+ .navigation ul li {
39
+ margin: 0 15px;
40
  }
41
 
42
+ .navigation ul li a {
43
  text-decoration: none;
44
  color: white;
45
+ font-size: 16px;
46
+ transition: color 0.3s;
47
+ }
48
+
49
+ .navigation ul li a:hover {
50
+ color: grey;
51
+ }
52
+
53
+ .menu-toggle {
54
+ display: none;
55
+ font-size: 24px;
56
+ cursor: pointer;
57
  }
58
 
59
  .section {
60
+ padding: 100px 20px;
61
  text-align: center;
 
62
  }
63
 
64
+ .section h1, .section h2 {
65
+ font-size: 36px;
66
+ margin-bottom: 20px;
67
+ }
68
+
69
+ .section p {
70
+ font-size: 18px;
71
+ max-width: 800px;
72
+ margin: 0 auto;
73
+ }
74
+
75
+ .portfolio {
76
+ display: flex;
77
+ justify-content: center;
78
+ gap: 50px;
79
+ margin-top: 20px;
80
+ }
81
+
82
+ .item h3 {
83
+ font-size: 24px;
84
+ margin-bottom: 10px;
85
  }
86
 
87
  .footer {
88
  text-align: center;
89
  padding: 20px;
90
+ background: black;
91
+ border-top: 1px solid white;
92
  }