Skip to content

Commit 942525c

Browse files
authored
Update website.css
1 parent aaa10fb commit 942525c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

styles/website.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,43 @@ span.run-code-loading {
8484
width: 100%;
8585
height: 100%;
8686
}
87+
88+
/* Navigation Modal */
89+
90+
.logo {
91+
padding-top: 0.5em;
92+
width: 120px;
93+
}
94+
95+
.topnav {
96+
background-color: #f1f1f1;
97+
overflow: hidden;
98+
display: flex;
99+
align-items: center;
100+
}
101+
102+
.topnav a {
103+
text-align: center;
104+
display: inline-block;
105+
color: #333333;
106+
padding-left: 1.5em;
107+
}
108+
109+
@media screen and (max-width: 1000px) {
110+
.topnav {
111+
display: grid;
112+
}
113+
.topnav a {
114+
padding-left: 0em;
115+
padding-bottom: 0.3em;
116+
}
117+
.logobox {
118+
padding-top: 0.3em;
119+
}
120+
}
121+
122+
@media screen and (max-width: 300px) {
123+
.topnav {
124+
display: none;
125+
}
126+
}

0 commit comments

Comments
 (0)