File tree Expand file tree Collapse file tree 1 file changed +87
-5
lines changed Expand file tree Collapse file tree 1 file changed +87
-5
lines changed Original file line number Diff line number Diff line change 1
- git status
2
- git status
3
- git add style .css
4
- git commit -m Added css to webpage
5
- git push
1
+ /* style.css */
2
+
3
+ /* Set the background color for the entire page */
4
+ body {
5
+ background-color : # 1c1414fc ;
6
+ color : # 3a2e2e ;
7
+ font-family : Helvetica;
8
+ }
9
+
10
+ .top-header {
11
+ color : # fff ;
12
+ background-color : # 0a01016f ;
13
+ padding : 30px ;
14
+ text-align : center;
15
+ }
16
+
17
+ /* Style the navigation menu */
18
+ .header-nav {
19
+ list-style-type : none;
20
+ margin : 0 ;
21
+ padding : 0 ;
22
+ }
23
+
24
+ .header-nav li {
25
+ display : inline-block;
26
+ margin : 0 10px ;
27
+ }
28
+
29
+ /* Style the navigation links */
30
+ .header-nav a {
31
+ text-decoration : none;
32
+ color : # fff ;
33
+ font-weight : bold;
34
+ font-size : 14px ;
35
+ padding : 10px 20px ;
36
+ border : 2px solid # fff ;
37
+ border-radius : 5px ;
38
+ transition : background-color 0.3s , color 0.3s ;
39
+ }
40
+
41
+ .header-nav a : hover {
42
+ background-color : # fff ; /* White background color on hover */
43
+ color : # 00070e ; /* Blue text color on hover */
44
+ }
45
+
46
+ /* Style the main content layout */
47
+ .main-content {
48
+ display : flex;
49
+ justify-content : space-between;
50
+ align-items : center;
51
+ padding : 100px ;
52
+ }
53
+
54
+ .header-left {
55
+ flex : 1 ;
56
+ padding : 20px ;
57
+ color : # fff ;
58
+ border-radius : 10px ;
59
+ align-items : center;
60
+
61
+ }
62
+
63
+ .header-left h1 {
64
+ font-size : 40px ;
65
+ align-items : center;
66
+ }
67
+
68
+
69
+ /* Style the image on the right side */
70
+ .image-right {
71
+ flex : 1 ;
72
+ text-align : right;
73
+ }
74
+
75
+ .image-right img {
76
+ padding : 10px ;
77
+ max-width : 70% ;
78
+ height : auto;
79
+ }
80
+
81
+ .rounded-image {
82
+ border-radius : 50% ;
83
+ max-width : 50% ;
84
+ height : auto;
85
+ margin : 20px ;
86
+ }
87
+
You can’t perform that action at this time.
0 commit comments