1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
verdaccio/lib/GUI/css/main.less
2014-05-07 14:56:48 -05:00

119 lines
1.5 KiB
Plaintext

@import "../../../node_modules/helpers.less/helpers.less";
@import "./markdown.less";
@import "./highlight.js.less";
/*** Main Styles ***/
body {
margin: 0;
font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Sans-Serif;
}
h1 {
text-align: center;
a, a:visited {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
}
.center {
text-align: center;
}
#content {
margin: 0 auto;
max-width: 880px;
padding: 20px;
}
/*** Setup ***/
#setup {
background: #DB4141;
padding: 15px 20px;
display: inline-block;
.border-radius(4px);
text-align: left;
color: #FFF;
code {
font-family: Consolas, monaco, monospace;
}
}
/*** Search Box ***/
#search-form {
float: right;
@height: 30px;
input, button {
margin: 0;
vertical-align: middle;
}
input {
width: 200px;
height: @height;
.border-box;
padding: 0 5px;
font-size: 16px;
border: 1px solid #444;
border-right: 0;
&:focus {
outline: none;
}
}
button {
height: @height;
width: @height;
margin: 0;
border: 0;
}
}
/*** Package Entries ***/
.entry {
background: #F3F3F3;
.border-radius(4px);
padding: 12px 15px 15px;
h3 {
font-size: 24px;
margin: 0 0 10px;
}
.version {
font-size: 16px;
color: #666;
}
.author {
font-size: 16px;
float: right;
color: #666;
}
p {
margin: 0;
}
.readme {
font-size: 14px;
margin-top: 10px;
background: #FFF;
padding: 10px 12px;
.border-radius(3px);
}
}
/*** Search Results ***/
.state-search #all-packages {
display: none;
}