Skip to content

Instantly share code, notes, and snippets.

@AndreasMadsen
Created December 30, 2011 09:27
Show Gist options
  • Save AndreasMadsen/1538952 to your computer and use it in GitHub Desktop.
Save AndreasMadsen/1538952 to your computer and use it in GitHub Desktop.
overview
/**
* Copyright (c) 2011 Andreas Madsen
* GPL License Version 3
*/
html, body, ul, figure, img {
margin: 0;
padding: 0;
font-family: sans-serif;
}
section.afdeling {
margin: 20px auto;
width: 80%;
background: #E2E6EE;
border: 1px solid #A4ACB3;
overflow: hidden;
}
section.afdeling header {
background: #C7D2DE;
border-bottom: 1px solid #A4ACB3;
overflow: hidden;
}
section.afdeling header h2.title {
padding: 2px 10px;
margin: 0;
float: left;
font-size: 18px;
color: #444;
font-weight: bold;
}
section.afdeling header h2.title input {
background: none;
width: 400px;
padding: 0;
margin: 0 0 0 5px;
border: none;
font-size: 18px;
color: #000;
font-weight: bold;
outline: none;
}
section.afdeling header button {
margin: 2px 10px;
padding: 0;
border: none;
background: none;
float: right;
font-size: 18px;
font-weight: bold;
color: #444;
cursor: pointer;
}
section.afdeling li {
display: block;
float: left;
width: 160px;
height: 226px;
border-right: 1px solid #A4ACB3;
border-bottom: 1px solid #A4ACB3;
}
section.afdeling li figure img {
display: block;
border: none;
width: 160px;
height: 206px;
}
section.afdeling li figure figcaption {
display: block;
width: 160px;
height: 20px;
background: #C7D2DE;
color: #444;
font-size: 16px;
line-height: 20px;
text-align: center;
}
@media print {
section#addAfdeling {
display: none;
}
section.afdeling {
width: 100%;
}
section.afdeling header button {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment