Permalink
Browse files

More frecalau :(

  • Loading branch information...
1 parent c38d505 commit 4ff6badaa2be506e90da978c9cb15fb62a24939e @zmack committed May 18, 2010
Showing with 30 additions and 0 deletions.
  1. +19 −0 status.html
  2. +11 −0 style.css
View
@@ -4,6 +4,25 @@
<title>Mocofaneala</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" lang="Javascript"></script>
+ <script>
+ $(function() {
+ $('ol ul li').each( function() {
+ var $this = $(this);
+ console.log($this.text()[0]);
+
+ switch( $this.text()[0] ) {
+ case '-':
+ $this.addClass('negative');
+ break;
+
+ case '+':
+ $this.addClass('positive');
+ break;
+ }
+ });
+ });
+ </script>
</head>
<body>
<ol>
View
@@ -49,3 +49,14 @@ strong.author {
li:hover strong.author {
background-color: #EDE;
}
+
+ol ul li {
+ -webkit-transition-duration: .25s;
+}
+
+li:hover li.positive {
+ color: #181;
+}
+li:hover li.negative {
+ color: #811;
+}

0 comments on commit 4ff6bad

Please sign in to comment.