mirror of
https://github.com/wahyd4/Libr.git
synced 2026-08-09 12:56:14 +10:00
87 lines
1.9 KiB
CSS
Executable File
87 lines
1.9 KiB
CSS
Executable File
|
|
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-size: 36px;
|
|
font-size: 2rem;
|
|
line-height: 1.5;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.page-wrap {
|
|
width: 960px;
|
|
margin: 80px auto;
|
|
}
|
|
|
|
.mynav {
|
|
list-style: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.mynav li {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-right: -4px; /* See: http://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
|
|
}
|
|
|
|
.mynav li:before {
|
|
content: "";
|
|
display: block;
|
|
border-top: 1px solid #ddd;
|
|
border-bottom: 1px solid #fff;
|
|
width: 100%;
|
|
height: 1px;
|
|
position: absolute;
|
|
top: 50%;
|
|
z-index: -1;
|
|
}
|
|
|
|
.mynav a {
|
|
display: block;
|
|
background-color: #f7f7f7;
|
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e7e7e7));
|
|
background-image: -webkit-linear-gradient(top, #f7f7f7, #e7e7e7);
|
|
background-image: -moz-linear-gradient(top, #f7f7f7, #e7e7e7);
|
|
background-image: -ms-linear-gradient(top, #f7f7f7, #e7e7e7);
|
|
background-image: -o-linear-gradient(top, #f7f7f7, #e7e7e7);
|
|
color: #a7a7a7;
|
|
margin: 36px;
|
|
width: 144px;
|
|
height: 144px;
|
|
position: relative;
|
|
text-align: center;
|
|
line-height: 144px;
|
|
border-radius: 50%;
|
|
box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
|
|
}
|
|
|
|
.mynav a:before {
|
|
content: "";
|
|
display: block;
|
|
background: #fff;
|
|
border-top: 2px solid #ddd;
|
|
position: absolute;
|
|
top: -18px;
|
|
left: -18px;
|
|
bottom: -18px;
|
|
right: -18px;
|
|
z-index: -1;
|
|
border-radius: 50%;
|
|
box-shadow: inset 0px 8px 48px #ddd;
|
|
}
|
|
|
|
.mynav a:hover {
|
|
text-decoration: none;
|
|
color: #555;
|
|
background: #f5f5f5;
|
|
} |