File tree Expand file tree Collapse file tree 2 files changed +28
-10
lines changed
Expand file tree Collapse file tree 2 files changed +28
-10
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ document.addEventListener("DOMContentLoaded", function () {
44
55 toggleButton . addEventListener ( "click" , function ( ) {
66 linksContainer . style . maxHeight =
7- linksContainer . style . maxHeight === "0px " ? "200px" : "0px" ;
7+ linksContainer . style . maxHeight === "px " ? "200px" : "0px" ;
88 } ) ;
99} ) ;
Original file line number Diff line number Diff line change 66 background-color : # 0f0f0f ;
77}
88
9-
109.main {
1110 width : 100% ;
1211 height : 100% ;
@@ -37,13 +36,25 @@ body {
3736 color : white;
3837}
3938
39+ .links-container {
40+ display : flex;
41+ flex-direction : column;
42+ max-height : 0 ;
43+ overflow : hidden;
44+ transition : max-height 0.3s ease-out;
45+ }
46+
4047.links {
4148 display : flex;
49+ flex-direction : column;
4250 color : white;
51+ margin-top : 10px ;
52+ /* Adjust the margin as needed */
4353}
4454
4555.links a {
46- margin-right : 20px ;
56+ margin-bottom : 10px ;
57+ /* Adjust the margin as needed */
4758 text-decoration : none;
4859 color : white;
4960}
@@ -53,15 +64,12 @@ body {
5364 align-items : center;
5465}
5566
56-
5767.search-bar input {
5868 padding : 8px ;
5969 border : none;
6070 border-radius : 4px 0 0 4px ;
6171 font-size : 14px ;
62- outline : white;
63-
64-
72+ flex-grow : 1 ;
6573}
6674
6775.search-bar button {
@@ -71,21 +79,31 @@ body {
7179 border : none;
7280 border-radius : 4px 10px 10px 4px ;
7381 cursor : pointer;
74- outline : white;
7582 font-size : 14px ;
83+ outline : blue;
7684}
7785
7886input {
7987 background-color : # 0f0f0f ;
80- opacity : 80% ;
88+ opacity : 0.8 ;
89+ outline : none;
8190}
8291
8392# icon {
8493 width : 7px ;
8594 height : 7px ;
8695}
8796
88-
8997input [type = "text" ] {
9098 color : # ffffff ;
99+ }
100+
101+ /* Toggle button styles */
102+ .toggle-button {
103+ cursor : pointer;
104+ background : none;
105+ border : none;
106+ color : white;
107+ font-size : 20px ;
108+ margin-right : 20px ;
91109}
You can’t perform that action at this time.
0 commit comments