Cleaned up transition properties in CSS
This commit is contained in:
parent
aac7b36981
commit
3010c71c4f
@ -18,8 +18,7 @@
|
|||||||
body {
|
body {
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
line-height: 1.6;
|
line-height: 1.6; }
|
||||||
transition: none; }
|
|
||||||
|
|
||||||
#top {
|
#top {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
@ -87,7 +86,6 @@ body {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
/* Project bits */ }
|
/* Project bits */ }
|
||||||
.slide div .project {
|
.slide div .project {
|
||||||
transition-duration: .2s;
|
|
||||||
width: 390px;
|
width: 390px;
|
||||||
padding: 0 0 1em 0;
|
padding: 0 0 1em 0;
|
||||||
border: 1px solid #aaa;
|
border: 1px solid #aaa;
|
||||||
|
@ -26,7 +26,6 @@ body {
|
|||||||
font-family: serif;
|
font-family: serif;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
transition: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#top {
|
#top {
|
||||||
@ -63,10 +62,6 @@ body {
|
|||||||
img {
|
img {
|
||||||
transition-duration: .2s;
|
transition-duration: .2s;
|
||||||
}
|
}
|
||||||
.hideable {
|
|
||||||
// transition-property: size;
|
|
||||||
// transition-duration: .2s;
|
|
||||||
}
|
|
||||||
h2 {
|
h2 {
|
||||||
transition-property: size;
|
transition-property: size;
|
||||||
transition-duration: .2s;
|
transition-duration: .2s;
|
||||||
@ -122,7 +117,6 @@ body {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
/* Project bits */
|
/* Project bits */
|
||||||
.project {
|
.project {
|
||||||
transition-duration: .2s;
|
|
||||||
width: $width/2 - 10;
|
width: $width/2 - 10;
|
||||||
padding: 0 0 1em 0;
|
padding: 0 0 1em 0;
|
||||||
border: 1px solid #aaa;
|
border: 1px solid #aaa;
|
||||||
@ -208,9 +202,6 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// .project:hover {
|
|
||||||
// box-shadow: 1px 1px 3px #333;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user