Skip to content

Commit 3928a49

Browse files
authored
Update style.css
1 parent bd6858e commit 3928a49

File tree

1 file changed

+107
-9
lines changed

1 file changed

+107
-9
lines changed

style.css

Lines changed: 107 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,44 @@
1616
font-weight: normal;
1717
font-style: normal;
1818
}
19-
.mainsection{
19+
.header{
20+
display: flex;
21+
}
22+
.logo{
2023
display: flex;
2124
align-items: center;
25+
max-width: 50%;
26+
margin-left: 70px;
27+
}
28+
.logoimg{
29+
margin: 20px;
30+
max-width: 100px;
31+
max-height: 100px;
32+
}
33+
.englishlogotext{
34+
font-family: 'Century Gothic';
35+
color: #2b3c44;
36+
font-size: 1.6em;
37+
margin-bottom: 0px;
38+
}
39+
.arabiclogotext{
40+
font-family: 'Dubai';
41+
color: #2b3c44;
42+
font-size: 1.6em;
43+
margin-top: 0px;
44+
45+
}
46+
.mainsection{
47+
display:flex;
48+
align-items: center;
2249
justify-content: space-between;
50+
max-width: 80%;
51+
margin: auto;
52+
2353
}
2454
.mainpic{
2555
max-width: 40%;
26-
max-height: 50%;
56+
max-height: 40%;
2757
border-radius: 20px;
2858
margin: 20px;
2959
}
@@ -32,38 +62,106 @@
3262
margin-right: 20px;
3363
}
3464
.hello{
35-
font-family: 'Bogue';font-size: 100px;text-align: center;
65+
font-family: 'Bogue';font-size: 100px;text-align: left;
66+
margin-top: 0px;
67+
margin-bottom: 0px;
68+
color: #2b3c44;
69+
}
70+
.links{
71+
display: inline-block;
72+
margin-top: 50px;
73+
text-align: left;
74+
margin-right: 40px;
75+
margin-left: auto;
76+
max-width: 50%;
77+
}
78+
.headerlinks{
79+
margin-left: 30px;
80+
font-family:'Bogue' ;
81+
text-decoration: none;
82+
color: #2b3c44;
83+
font-size: 1.2em;
84+
}
85+
p{
86+
color: #2b3c44;
87+
}
88+
footer{
89+
margin: 0 50px ;
90+
}
91+
.end{
92+
display: flex;
93+
justify-content: space-between;
94+
}
95+
.socialmedia a{
96+
align-items: center;
97+
color:#2b3c44;
98+
text-decoration: none;
99+
margin: 5px;
100+
}
101+
.copyright{
102+
font-family: 'Bogue';
103+
color: #2b3c44;
104+
font-size: 14px;
36105
}
37106

38107
@media (max-width: 768px) {
108+
39109
.mainsection {
40110
display: block; /* Stacks the image and text vertically */
41111
text-align: center; /* Optional: centers the text */
42112
}
43113
.mainpic {
114+
margin-top:60px;
44115
margin-bottom: 20px; /* Adds space between the image and the text */
45116
max-width: 90%;
117+
border-radius: 360px;
46118
}
47119
.maintext {
48120
margin-left: 0; /* Removes the left margin for mobile */
49121
margin-right: 0;
50122
padding-bottom:20px;
51123
}
52-
.header{
53-
display: inline;
54-
margin-left: 0;
55-
max-width:100%;
124+
.logo{
125+
margin-left: 30px;
126+
align-items:start;
127+
justify-content: space-between;
128+
max-width: 90%;
56129
}
130+
.logoimg{
131+
max-width: 70px;
132+
margin: 10px 0px;
133+
}
134+
.englishlogotext{
135+
margin-top:10px;
136+
}
137+
.arabiclogotext{
138+
margin-top: -5px;
139+
}
140+
.logotext{
141+
margin-top: 10px;
142+
margin-left: 10px;
143+
}
144+
57145
.links{
58146
display: none;
59147
}
60148
.hello{
61-
margin-top: -10px;
149+
margin-top: -30px;
150+
margin-bottom: 20px;
151+
text-align: center;
62152
}
63153
p{
64-
margin-top: -70px;
154+
margin-top: -20px;
65155
margin-bottom:20px;
66156
margin-right:30px;
67157
margin-left:30px;
68158
}
159+
.end{
160+
display: block;
161+
align-items: center;
162+
text-align: center;
163+
}
164+
.socialmedia{
165+
margin:30px 10px 20px 10px;
166+
}
69167
}

0 commit comments

Comments
 (0)