Skip to content

Commit

Permalink
Give hint to reader
Browse files Browse the repository at this point in the history
This patch change the slide button to indicate which sides is meant for which usage.
Try to fix hackstub#5
  • Loading branch information
AMDG2 authored Mar 6, 2018
1 parent 438fe07 commit 50bee05
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ li::before {
position: fixed;
cursor: row-resize;
}
#slider::before {
content: '< >';
#slider::before,
#slider::after {
position: absolute;
text-align: center;
font-family: "Space Mono";
Expand All @@ -60,12 +60,20 @@ li::before {
height: 1rem;
color: white;
background-color: black;
width: 2rem;
transform: rotate(90deg);
-ms-transform: rotate(90deg); /* IE 9 */
-webkit-transform: rotate(90deg); /* Safari */
left: calc(50% - 1rem);
top: -5px;
padding: 3px;
width: 5.5rem;
left: calc(50% - 2.75rem);
}
#slider::before {
content: '/ Lecture \\';
top: -20px;

}
#slider::after {
content: '\\ @Hacker /';
top: 5px;
padding-top: 6px;
border-top: solid 1px white;
}

main {
Expand Down

1 comment on commit 50bee05

@jeremiewcz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour la proposition !

Please sign in to comment.