Skip to content

Commit 41e10f6

Browse files
committed
shinzou wo sasageyo
1 parent d3cc1a9 commit 41e10f6

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ <h5 class="content" dir="rtl">لورم ایپسوم متن ساختگی با ت
2222
<a id="home" href="#">صفحه اصلی 🏠</a>
2323
<a id="services" href="#">خدمات 💪</a>
2424
<a id="contact" href="#">ارتباط با ما 📞</a>
25+
<img id="logo" src="/wings.png" alt="wings-of-freedom">
2526
</div>
2627
</body>
2728
</html>

style.css

+13-8
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,38 @@ body {
3434
.sidebar {
3535
text-align: center;
3636
height: 100%;
37-
width: 40%;
38-
font-size: 300%;
37+
width: 70%;
38+
font-size: 350%;
3939
position: fixed;
4040
top: 0;
4141
background-color: MediumSeaGreen;
4242
padding-top: 250px;
43-
left: -40%;
43+
right: -70%;
4444
transition: 200ms all ease;
4545
}
4646

4747
.sidebar a {
4848
display: block;
4949
color: white;
50-
padding: 10%;
50+
padding: 50px;
5151
text-decoration: none;
5252
transition: 200ms all;
5353
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
5454
}
5555

56+
57+
.sidebar #logo {
58+
padding-top: 60%;
59+
}
60+
5661
#sidebar-toggle {
5762
display: none;
5863
}
5964

6065
.sidebar-toggle-button {
6166
position: fixed;
62-
top: 25px;
63-
left: 40px;
67+
top: 2%;
68+
left: 89%;
6469
cursor: pointer;
6570
z-index: 9999;
6671
user-select: none;
@@ -83,11 +88,11 @@ body {
8388
}
8489

8590
#sidebar-toggle:checked ~ .sidebar {
86-
left: 0px;
91+
right: 0px;
8792
}
8893

8994
#sidebar-toggle:checked ~ .main {
90-
filter: blur(4px);
95+
filter: blur(5px);
9196
user-select: none;
9297
}
9398

wings.png

24.4 KB
Loading

0 commit comments

Comments
 (0)