Skip to content

Instantly share code, notes, and snippets.

@annalinneajohansson
Created April 26, 2015 07:06
Show Gist options
  • Select an option

  • Save annalinneajohansson/9992fd5f7bb8f511318d to your computer and use it in GitHub Desktop.

Select an option

Save annalinneajohansson/9992fd5f7bb8f511318d to your computer and use it in GitHub Desktop.
CSS for Firefox addon SuperStart
#sites,
#folder {
font-family: "Ubuntu Mono",monospace;
}
.site-title-text {
font-weight:400!important;
}
#folder {
padding: 1em 0 3em;
}
.site-snapshot {
background-position: 50% 50%;
background-size: contain;
border:none;
}
.site .site-title-text {
font-size: 1.4rem;
font-weight: 700;
height: 1em;
left: auto;
margin: 0 auto;
overflow: hidden;
padding: 9px 0;
position: absolute;
top: 0;
right: auto;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.site.folder .site-title-text {
background-color: rgba(0, 0, 0, 0.3);
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
top: -32px;
}
.site.in-folder .site-title-text {
font-size:1.2rem;
top:5px;
}
.placeholder-snapshot .site-title-text,
.site-title-folder-size {
display: none;
}
.folder,
.site {
background-color: transparent;
border: none!important;
border-radius: 6px;
}
.site .site-link .site-snapshot {
background-color: transparent;
}
.site-snapshot.folder-snapshot {
height: 130px !important;
}
.site-snapshot {
background-color:transparent;
}
.site-snapshot.folder-snapshot,
.site-snapshot:not(.placeholder-snapshot) {
border-radius:6px;
border:none;
}
.folder-snapshot {
background-color: transparent;
}
.site.folder .site-link .site-snapshot {
background-color: rgba(0, 0, 0, 0.3);
}
.site.folder {
background-color: rgba(0, 0, 0, 0.15);
}
.image-preview {
border:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment