Last active
May 28, 2019 01:37
-
-
Save gucheen/3c0e3d6e0a575c6f5c28f17c46706195 to your computer and use it in GitHub Desktop.
css for documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body,html{ | |
margin:0 | |
} | |
body{ | |
padding:2em | |
} | |
a{ | |
word-break:break-all | |
} | |
pre{ | |
padding:1em; | |
overflow:auto | |
} | |
code,pre{ | |
background-color:#eee | |
} | |
button{ | |
background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1)); | |
background-image:-webkit-linear-gradient(top,#f5f5f5,#f1f1f1); | |
-webkit-border-radius:2px; | |
-webkit-user-select:none; | |
background-color:#f2f2f2; | |
border:1px solid #f2f2f2; | |
border-radius:4px; | |
color:#5f6368; | |
cursor:pointer; | |
font-family:arial,sans-serif; | |
font-size:14px; | |
margin:11px 4px; | |
min-width:54px; | |
padding:0 16px; | |
text-align:center; | |
height:36px; | |
line-height:27px | |
} | |
button:hover{ | |
background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1)); | |
background-image:-webkit-linear-gradient(top,#f8f8f8,#f1f1f1); | |
-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1); | |
background-color:#f8f8f8; | |
background-image:linear-gradient(top,#f8f8f8,#f1f1f1); | |
background-image:-o-linear-gradient(top,#f8f8f8,#f1f1f1); | |
border:1px solid #c6c6c6; | |
box-shadow:0 1px 1px rgba(0,0,0,.1); | |
color:#222 | |
} | |
button:focus{ | |
border:1px solid #4d90fe; | |
outline:none | |
} | |
@media screen and (max-width:900px){ | |
body{ | |
padding:1em | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body,html{margin:0}body{padding:2em}a{word-break:break-all}pre{padding:1em;overflow:auto}code,pre{background-color:#eee}button{background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));background-image:-webkit-linear-gradient(top,#f5f5f5,#f1f1f1);-webkit-border-radius:2px;-webkit-user-select:none;background-color:#f2f2f2;border:1px solid #f2f2f2;border-radius:4px;color:#5f6368;cursor:pointer;font-family:arial,sans-serif;font-size:14px;margin:11px 4px;min-width:54px;padding:0 16px;text-align:center;height:36px;line-height:27px}button:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1));background-image:-webkit-linear-gradient(top,#f8f8f8,#f1f1f1);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);background-color:#f8f8f8;background-image:linear-gradient(top,#f8f8f8,#f1f1f1);background-image:-o-linear-gradient(top,#f8f8f8,#f1f1f1);border:1px solid #c6c6c6;box-shadow:0 1px 1px rgba(0,0,0,.1);color:#222}button:focus{border:1px solid #4d90fe;outline:none}@media screen and (max-width:900px){body{padding:1em}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment