File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="site-header ">
22 < div class ="wrapper ">
3- < a class ="site-title " rel ="author " href ="{{ "/" | relative_url }}"> {{ site.title | escape }}< b class ="command_prompt "> </ b > < b class ="blinking_cursor "> _</ b > </ a >
3+ < div class ="header-top ">
4+ < a class ="site-title " rel ="author " href ="{{ "/" | relative_url }}"> {{ site.title | escape }}< b class ="command_prompt "> </ b > < b class ="blinking_cursor "> _</ b > </ a >
5+ < span class ="social_links ">
6+ {% for link in site.dash.social_links %}
7+ {% if link.fa == true %}
8+ < a class ="color-{{ link.color }}-hover " href ="{{ link.url }} "{% if link.rel %} rel ="{{ link.rel }} "{% endif %} > < i class ="fa fa-{{ link.icon }} "> </ i > </ a >
9+ {% else %}
10+ < a class ="color-{{ link.color }}-hover " href ="{{ link.url }} "{% if link.rel %} rel ="{{ link.rel }} "{% endif %} > < i class ="fab fa-{{ link.icon }} "> </ i > </ a >
11+ {% endif %}
12+ {% endfor %}
13+ </ span >
14+ </ div >
415 {% if site.dash.nav_links and site.dash.show_nav %}
516 < nav class ="site-nav ">
617 {% for link in site.dash.nav_links %}
718 < a href ="{{ link.url | relative_url }} " class ="nav-link "> {{ link.title }}</ a >
819 {% endfor %}
920 </ nav >
1021 {% endif %}
11- < span class ="social_links ">
12- {% for link in site.dash.social_links %}
13- {% if link.fa == true %}
14- < a class ="color-{{ link.color }}-hover " href ="{{ link.url }} "{% if link.rel %} rel ="{{ link.rel }} "{% endif %} > < i class ="fa fa-{{ link.icon }} "> </ i > </ a >
15- {% else %}
16- < a class ="color-{{ link.color }}-hover " href ="{{ link.url }} "{% if link.rel %} rel ="{{ link.rel }} "{% endif %} > < i class ="fab fa-{{ link.icon }} "> </ i > </ a >
17- {% endif %}
18- {% endfor %}
19- </ span >
2022 </ div >
2123</ div >
Original file line number Diff line number Diff line change 112112}
113113
114114/* Navigation styling */
115+ .header-top {
116+ display : flex;
117+ justify-content : space-between;
118+ align-items : center;
119+ margin-bottom : 0.5em ;
120+ }
121+
115122.site-nav {
116- display : inline-block;
117- margin-left : 2em ;
123+ display : block;
124+ border-top : 1px solid rgba (255 , 167 , 196 , 0.3 );
125+ padding-top : 0.5em ;
126+ margin-top : 0.5em ;
118127}
119128
120129.nav-link {
132141}
133142
134143@media (max-width : 768px ) {
135- .site-nav {
136- display : block;
137- margin-left : 0 ;
144+ .header-top {
145+ flex-direction : column;
146+ align-items : flex-start;
147+ }
148+
149+ .social_links {
138150 margin-top : 0.5em ;
139151 }
140152
143155 margin-right : 0 ;
144156 margin-bottom : 0.3em ;
145157 }
146-
147- .social_links {
148- float : none !important ;
149- display : block;
150- text-align : left;
151- margin-top : 0.5em ;
152- }
153158}
You can’t perform that action at this time.
0 commit comments