Skip to content

Commit 26525cb

Browse files
committed
add footer and fix size of text-typing
1 parent ac97b4e commit 26525cb

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

css/main.css

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ html,body {
2222
position:relative;
2323
}
2424

25+
.wrapper {
26+
max-width: 950px;
27+
margin:auto;
28+
}
29+
2530
.text-typing {
2631
display:flex;
2732
justify-content:center;
@@ -31,8 +36,9 @@ html,body {
3136
transform: translate(-50%,-50%);
3237
}
3338

34-
h1 {
39+
h1#element {
3540
font-family:'consol' !important;
41+
height: 111px;
3642
}
3743

3844
.typed-cursor {
@@ -86,3 +92,34 @@ h1 {
8692
position: absolute;
8793
z-index: 999;
8894
}
95+
96+
/* Footer */
97+
footer {
98+
font-family: 'Segoe UI';
99+
width: 100%;
100+
padding: 10px 20px 10px 20px;
101+
display: block;
102+
position: relative;
103+
}
104+
105+
footer > p {
106+
text-align: center;
107+
font-size: 1em;
108+
}
109+
110+
.social-media {
111+
width: 100%;
112+
margin: auto;
113+
display: flex;
114+
justify-content: center;
115+
}
116+
.social-media a {
117+
font-size: 2em !important;
118+
color: #000000;
119+
cursor: pointer;
120+
margin: auto 10px;
121+
transition: 0.2s ease;
122+
}
123+
.social-media a:hover {
124+
color: #7e7e7e;
125+
}

index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<!-- Link CSS -->
99
<link rel="stylesheet" type="text/css" href="css/main.css">
1010
<link rel="stylesheet" href="vendor/hamburgers/hamburgers.css">
11+
<!-- fontawesome -->
12+
<link rel="stylesheet" href="vendor/node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css">
13+
<link rel="stylesheet" href="vendor/node_modules/@fortawesome/fontawesome-free/css/brands.min.css">
1114
<!-- javascript -->
1215
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
1316

@@ -35,6 +38,29 @@
3538
<h1 id="element"></h1>
3639
</div>
3740
</div>
41+
42+
<!-- footer -->
43+
<footer>
44+
<div class="wrapper">
45+
<!-- social media -->
46+
<div class="social-media">
47+
<a href="https://twitter.com/zaka_coding">
48+
<i class="fab fa-twitter"></i>
49+
</a>
50+
<a href="https://instagram.com/youn8e_">
51+
<i class="fab fa-instagram"></i>
52+
</a>
53+
<a href="https://www.linkedin.com/in/zaka-n-693018111/">
54+
<i class="fab fa-linkedin-in"></i>
55+
</a>
56+
</div>
57+
</div>
58+
<!-- Describe -->
59+
<p>
60+
Copyright &copy; 2021 All Right Reserved. Develop with &#10084;&#65039; by Zaka.
61+
<br><small>PHP | HTML5 | CSS3 | JavaScript | Full-Stack Developer</small>
62+
</p>
63+
</footer>
3864
</body>
3965

4066
<!-- script in the end off body -->

0 commit comments

Comments
 (0)