clojurecup2014-luduverse/resources/public/css/main.css

85 lines
1.3 KiB
CSS

* {
margin: 0;
padding: 0;
font-family: Arial, DejaVu Sans;
}
#logo {
margin: auto;
margin-top: 200px;
display: block;
}
form#search {
margin: auto;
width: 600px;
}
form#search > input, form#search-results > input {
width: 580px;
font-size: 40px;
font-weight: bold;
margin: 20px 0 10px 0;
padding: 10px;
border: 2px solid #ddd;
background-color: #fcfcfc;
}
form#search > p {
font-size: 12px;
color: #aaa;
}
form#search > p > strong {
background-color: #eee;
color: black;
padding: 1px 5px;
border-radius: 2px;
}
div#results-header {
margin: 10px 0 0 15px;
}
#logo-search-results, form#search-results {
float: left;
}
form#search-results > input {
margin: 5px 0 0 20px;
}
#results {
margin-top: 20px;
}
#results > div {
width: 200px;
height: 200px;
background-color: #ccc;
border: 1px solid black;
margin: 3px;
float: left;
position: relative;
}
#results > div p {
position: absolute;
left: -2;
top: 172px;
width: 196px;
height: 25px;
background-color: black;
padding: 2px;
color: white;
font-size: 9px;
}
#results > div p > span {
font-weight: bold;
}
a {
color: red;
}
a:hover {
color: orange;
}