Skip to content

Instantly share code, notes, and snippets.

@edomora97
Last active August 29, 2015 14:13
Show Gist options
  • Save edomora97/d22f8269f897102a72da to your computer and use it in GitHub Desktop.
Save edomora97/d22f8269f897102a72da to your computer and use it in GitHub Desktop.
Facebook affinity stylesheet
@import url(https://fonts.googleapis.com/css?family=Rancho&effect=shadow-multiple);
a {
color: #333;
text-decoration: none;
}
a:hover,a:focus {
text-decoration: underline;
}
a:visited {
color: #333;
}
img {
border: 2px solid;
border-radius: 25px;
float: left;
height: 25px;
margin-right: 5px;
}
table {
background: #e9e9e9;
cursor: default;
font-family: 'Rancho';
font-size: 25px;
margin: 30px auto;
}
th {
background: #e0e0e0;
border-bottom: 1px solid white;
}
th,td {
border-left: 1px solid white;
border-right: 1px solid white;
}
tr {
transition: all .4s;
}
td,th {
padding: 0;
transition: all .4s;
}
th {
padding: 10px;
}
tr:hover,tr:focus {
background: rgba(255, 255, 255, 0.20);
}
td:hover,td:focus,th:hover,th:focus {
background: rgba(255, 255, 255, 0.25);
transform: scale(1.05);
}
td:active,th:active {
transform: scale(0.95);
}
td:first-of-type {
padding-right: 5px;
text-align: right;
}
div {
display: inline;
height: 20px;
line-height: 30px;
margin: 10px;
text-align: left;
width: 100%;
}
.subtext {
color: gray;
text-align: right;
}
.page {
background: #dde6dd;
}
.group {
background: #dddde6;
}
.app {
background: #e6dddd;
}
.event {
background: #dde6e6;
}
@media (max-width:768px) {
img {
border: 1.5px solid;
border-radius: 15px;
float: left;
height: 15px;
margin-right: 3px;
}
table {
font-size: 15px;
margin: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment