Skip to content

Commit db0e5d3

Browse files
committed
Better organization
1 parent d8cdd50 commit db0e5d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1822
-1864
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ results
1414
npm-debug.log
1515
node_modules
1616

17-
.sass-cache
17+
.sass-cache
18+
19+
.DS_Store

css/demo-page.css

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,62 @@ h2 {
9292
font-weight: 900;
9393
}
9494

95+
#forkongithub a {
96+
background: #000;
97+
color: #fff;
98+
text-decoration: none;
99+
font-family: arial, sans-serif;
100+
text-align: center;
101+
font-weight: bold;
102+
padding: 5px 40px;
103+
font-size: 1rem;
104+
line-height: 2rem;
105+
position: relative;
106+
-webkit-transition: 0.5s;
107+
transition: 0.5s;
108+
}
109+
110+
#forkongithub a:hover {
111+
background: #060;
112+
color: #fff;
113+
}
114+
115+
#forkongithub a::before,
116+
#forkongithub a::after {
117+
content: "";
118+
width: 100%;
119+
display: block;
120+
position: absolute;
121+
top: 1px;
122+
left: 0;
123+
height: 1px;
124+
background: #fff;
125+
}
126+
127+
#forkongithub a::after {
128+
bottom: 1px;
129+
top: auto;
130+
}
95131

96-
#forkongithub a{background:#000;color:#fff;text-decoration:none;font-family:arial, sans-serif;text-align:center;font-weight:bold;padding:5px 40px;font-size:1rem;line-height:2rem;position:relative;transition:0.5s;}#forkongithub a:hover{background:#060;color:#fff;}#forkongithub a::before,#forkongithub a::after{content:"";width:100%;display:block;position:absolute;top:1px;left:0;height:1px;background:#fff;}#forkongithub a::after{bottom:1px;top:auto;}@media screen and (min-width:800px){#forkongithub{position:absolute;display:block;top:0;right:0;width:200px;overflow:hidden;height:200px;}#forkongithub a{width:200px;position:absolute;top:60px;right:-60px;transform:rotate(45deg);-webkit-transform:rotate(45deg);box-shadow:4px 4px 10px rgba(0,0,0,0.8);}}
132+
@media screen and (min-width:800px) {
133+
#forkongithub {
134+
position: absolute;
135+
display: block;
136+
top: 0;
137+
right: 0;
138+
width: 200px;
139+
overflow: hidden;
140+
height: 200px;
141+
}
142+
143+
#forkongithub a {
144+
width: 200px;
145+
position: absolute;
146+
top: 60px;
147+
right: -60px;
148+
-ms-transform: rotate(45deg);
149+
transform: rotate(45deg);
150+
-webkit-transform: rotate(45deg);
151+
box-shadow: 4px 4px 10px rgba(0,0,0,0.8);
152+
}
153+
}

css/hover-min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)