2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-03 15:40:14 +00:00
thumbsup/public/theme.css

117 lines
1.6 KiB
CSS
Executable File

* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}
html, body {
padding: 0;
margin: 0;
}
body {
border-top: 5px solid #33609c;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
font-weight: lighter;
margin: 0 1em;
padding: 0 1em;
-webkit-font-smoothing: antialiased;
}
header {
font-size: 2em;
padding: 1em 0;
}
h1 {
color: #33609c;
display: inline-block;
font-weight: bold;
}
h2 {
color: #666;
display: inline-block;
}
nav {
margin-bottom: 2.3em;
}
nav li {
border-radius: 2px;
display: inline-block;
}
nav a {
color: #666;
display: inline-block;
padding: 0.4em 1em;
text-decoration: none;
}
nav li.active {
background-color: #33609c;
}
nav li.active a {
color: #fff;
font-weight: bold;
}
nav li:not(.active):hover {
background-color: #eee;
}
#gallery {
margin-bottom: 3em;
}
#gallery li {
display: inline-block;
margin-right: 0.5em;
margin-bottom: 0.5em;
position: relative;
}
#gallery li .video-overlay {
background: rgba(0,0,0,0.6);
border-radius: 3px;
bottom: 6px;
color: #fff;
font-size: 0.9em;
padding: 0.5em 0.6em 0.4em 0.7em;
position: absolute;
right: 3px;
text-decoration: none;
}
#gallery img {
border-radius: 2px;
}
#gallery .play-overlay {
color: #fff;
font-size: 2em;
height: 100%;
left: 0;
line-height: 100%;
position: absolute;
text-align: center;
top: 0;
width: 100%;
}
.blueimp-gallery > .download {
position: absolute;
top: 30px;
left: 15px;
color: #fff;
display: none;
text-decoration: none;
}
.blueimp-gallery-controls > .download {
display: block;
}