Skip to content

Commit

Permalink
remove unused css (#1561)
Browse files Browse the repository at this point in the history
* feat: clear unused styles

* remove background image
  • Loading branch information
bjohansebas committed Sep 2, 2024
1 parent cbd1c86 commit 4fe9ce7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 107 deletions.
111 changes: 4 additions & 107 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
/* general */

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
font: 400 14px/1.6 "Open Sans", sans-serif;
background: url(/images/bg.jpg);
background: #fff;
margin: 0;
padding: 0;
color: #555;
Expand Down Expand Up @@ -231,11 +229,6 @@ a {
z-index: -1;
}

.outlined-img {
border: 1px solid #eaeaea;
width: 90%;
}

.current {
background: #e0f5ff;
}
Expand Down Expand Up @@ -298,12 +291,6 @@ a {
margin-left: 5px;
}

#conference {
display: inline;
float: right;
margin-left: 10px;
}

#intro {
margin-left: 5%;
}
Expand Down Expand Up @@ -333,14 +320,6 @@ header {
box-shadow: 0 0 4px #eee;
}

/* companies using express */

img.memberlogo {
vertical-align: middle;
width: 240px;
padding: 10px 20px;
}

/* code */

p code, td code {
Expand Down Expand Up @@ -371,15 +350,15 @@ pre code {
#top {
line-height: 0;
background: black;
-webkit-border-radius: 2px;
border-radius: 2px;
position: fixed;
bottom: 15px;
right: 15px;
padding: 8px;
text-decoration: none;
color: white;
opacity: 0;
-webkit-transition: opacity 300ms;
transition: opacity 300ms;
}

#top:hover {
Expand Down Expand Up @@ -447,44 +426,7 @@ html[xmlns] .clearfix {
width: 100%;
margin-top: 5px;
margin-bottom: 20px;
}

/* applications page */

#applications .section {
display: block;
margin-bottom: 50px;
}

.application h2 {
margin: 0;
}

.application {
padding: 80px 0;
height: 600px;
position: relative;
}

.application p {
float: left;
width: 30%;
}

.application img {
float: right;
}

.application .link {
position: absolute;
bottom: 15px;
left: 15px;
}

.application .link a {
margin-left: 4px;
}

}

/* doc specific */

Expand Down Expand Up @@ -626,18 +568,6 @@ pre, code {
white-space: pre-wrap !important;
}

#strongloop-header {
font-size: 0.7em;
display: block;
position: absolute;
right: 2%;
top: 11px;
width: 150px;
border-radius: 3px;
color: #08592B;
padding: 3px;
}

footer {
font-size: 12px;
margin: 60px 5% 30px;
Expand Down Expand Up @@ -886,12 +816,6 @@ h2 a {
/* responsive */

@media all and (max-width: 899px) {

#conference a img {
width: 150px;
margin-right: 10px;
}

#home-content {
flex-direction: column;
}
Expand Down Expand Up @@ -1006,10 +930,6 @@ h2 a {
font-weight: bold;
}

.github-fork-ribbon-wrapper {
display: none;
}

#mobile-menu {
display: block;
}
Expand Down Expand Up @@ -1152,19 +1072,10 @@ h2 a {


@media all and (max-width: 420px) {

#conference {
display:none;
}

#app-settings-property {
width: auto;
}

#strongloop-header {
display: none;
}

#description .express {
display: none;
}
Expand Down Expand Up @@ -1199,20 +1110,6 @@ h2 a {

/* For middleware pages */

/*
#mw-list {
float: left;
width: 180px;
margin: 0;
padding: 0 10px 0 10px;
font-size: 13px;
}
#middleware {
min-width: 300px;
}
*/

#mw-container {
display: flex;
display: -webkit-flex; /* Safari */
Expand Down
Binary file removed images/bg.jpg
Binary file not shown.

0 comments on commit 4fe9ce7

Please sign in to comment.