Explorar el Código

credits style

isundil hace 7 años
padre
commit
4eac739e06
Se han modificado 3 ficheros con 13 adiciones y 3 borrados
  1. 4 2
      public/index.html
  2. 0 1
      public/script.js
  3. 9 0
      public/style.css

+ 4 - 2
public/index.html

@@ -1,6 +1,8 @@
 <!DOCTYPE html5>
 <html><head><title>Mediaki Sound Control Center</title></head><link rel="stylesheet" type="text/css" href="style.css"><body>
   <div id="outputs"></div>
-  <p class="credits">Battery icons by Jose Flores from the Noun Project</p>
-  <p class="credits">wifi by Adrien Coquet from the Noun Project</p>
+  <div class="credits">
+    <p>Battery icons by Jose Flores from the Noun Project</p>
+    <p>Wifi icon by Adrien Coquet from the Noun Project</p>
+  </div>
 <script src="script.js"></script></body></html>

+ 0 - 1
public/script.js

@@ -22,7 +22,6 @@
 		var statusDiv = document.createElement("div");
 		statusDiv.className = "status";
 		if (data.status) {
-			console.log(data.status.status);
 			if (data.status.status.plugged) {
 				var pluggedIcon = document.createElement("img");
 				pluggedIcon.className = "icon"

+ 9 - 0
public/style.css

@@ -27,3 +27,12 @@
 	vertical-align: -15%;
 }
 
+.credits {
+	text-align: center;
+	margin-top: 5em;
+}
+
+.credits p {
+	margin: 0;
+}
+