Skip to content

Commit 76b13e6

Browse files
committed
Beautified sidebar in x-large screens.
screen width >= 1650px
1 parent d578c19 commit 76b13e6

2 files changed

Lines changed: 20 additions & 13 deletions

File tree

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{% if item.url == page_urls.last or
4444
item.name == "Home" and page.layout == "home" %}active{% endif %}">
4545
<a href="{{ ref }}" class="nav-link d-flex justify-content-center align-items-center w-100">
46-
<i class="fa-fw {{ item.icon }} ml-3 mr-4 unloaded"></i>
46+
<i class="fa-fw {{ item.icon }} ml-3 mr-3 unloaded"></i>
4747
<span>{{ item.name | upcase }}</span>
4848
</a>
4949
</li> <!-- .nav-item -->

assets/css/main.scss

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,24 +1249,30 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
12491249
width: 350px;
12501250
}
12511251

1252+
#sidebar ul {
1253+
margin-left: 5%;
1254+
}
1255+
12521256
#profile-wrapper {
12531257
margin-top: 4rem;
1254-
margin-bottom: 5rem;
1258+
margin-bottom: 3rem;
1259+
padding-left: 18%;
12551260
-ms-flex-direction: column!important;
1256-
flex-direction: row!important;
12571261
}
12581262

12591263
#avatar {
1260-
margin-left: 2.5rem;
1264+
-webkit-box-pack: normal !important;
1265+
-ms-flex-pack: normal !important;
1266+
justify-content: normal !important;
12611267
}
12621268

1263-
#avatar>a {
1264-
width: 5rem;
1265-
height: 5rem;
1269+
#avatar > a {
1270+
width: 6.2rem;
1271+
height: 6.2rem;
12661272
}
12671273

12681274
.profile-text {
1269-
margin-top: 0!important;
1275+
padding-left: .5rem;
12701276
/* .d-flex */
12711277
display: -webkit-box!important;
12721278
display: -ms-flexbox!important;
@@ -1280,18 +1286,19 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
12801286
}
12811287

12821288
#site-title a {
1283-
text-transform: uppercase;
1289+
font-size: 1.7rem;
1290+
letter-spacing: 1px;
12841291
}
12851292

12861293
.profile-text>div {
12871294
text-align: left !important;
1288-
margin-left: .8rem !important;
1295+
width: 100%;
12891296
}
12901297

12911298
#site-subtitle {
12921299
word-spacing: 0;
1293-
margin-top: .3rem;
1294-
margin-bottom: 0;
1300+
padding-right: 3rem;
1301+
margin: .3rem 0 0 0;
12951302
}
12961303

12971304
#sidebar ul>li>a {
@@ -1317,7 +1324,7 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
13171324
}
13181325

13191326
.contact {
1320-
margin-left: 2.5rem;
1327+
margin-left: 3.5rem;
13211328
margin-right: 4.5rem;
13221329
font-size: 1.3rem;
13231330
padding-bottom: 1rem;

0 commit comments

Comments
 (0)