Skip to content

Commit ad0acdd

Browse files
committed
Add graph lookin graphic wash to index
1 parent 1de40cc commit ad0acdd

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

site/_css/index.less

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ body.index {
4040
-webkit-font-smoothing: antialiased;
4141
-moz-osx-font-smoothing: grayscale;
4242

43+
&::before {
44+
background: url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E/img/graph-wash.png%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E%3C/span%3E) repeat center center;
45+
content: '';
46+
height: 100%;
47+
position: absolute;
48+
top: 0;
49+
width: 100%;
50+
}
51+
4352
header {
4453
background: linear-gradient(
4554
fadeout(@dark-color, 20%),
@@ -69,6 +78,7 @@ body.index {
6978
}
7079

7180
.abs {
81+
position: relative;
7282
@media screen and (min-width: 1020px) {
7383
position: absolute;
7484
top: 0;
@@ -123,7 +133,6 @@ body.index {
123133
padding: 0 18px;
124134
margin: 20px 18px;
125135
@media screen and (min-width: 1020px) {
126-
border-left: solid 1px rgba(255,255,255,0.15);
127136
margin: 3px 18px;
128137
}
129138
@media screen and (max-width: 1019px) {
@@ -175,7 +184,7 @@ body.index {
175184
.buttons-unit {
176185
animation: fade 1.1s 3.2s ease-in-out both;
177186
width: 100%;
178-
187+
179188
@media screen and (min-width: 1020px) {
180189
position: absolute;
181190
top: ~"calc(75%)";

site/img/graph-wash.png

28.4 KB
Loading

0 commit comments

Comments
 (0)