Преглед на файлове

fix menu images,link color, add cell resolution

David преди 11 години
родител
ревизия
791ef504e9
променени са 3 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 1 1
      Images/slider/resizer.sh
  2. 2 0
      css/especificos.css
  3. 2 2
      index.php

+ 1 - 1
Images/slider/resizer.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 for i in $(ls slide[0-9].jpg); do
-	for f in 1024 1400 1920; do
+	for f in 500 1024 1400 1920; do
 		newfile=$(echo $i | cut -d"." -f 1)-$f.jpg
 		if [ ! -f $newfile ]; then
 			convert $i -resize "$f"x-1 $newfile &

+ 2 - 0
css/especificos.css

@@ -580,6 +580,7 @@ p
 }
 
 a:visited, a:link { color: white; text-decoration:none; }
+#navbar a:visited, a:link { color: #485260; }
 a:hover { opacity: 0.5; transition: opacity 0.3s ease-in-out; }
 
 li a
@@ -599,6 +600,7 @@ b { font-weight: bold; }
 #curso .titulos {max-width:90%; margin:0px auto; color:white;}
 #exit{ width: 90%; height: 30px; margin: 0 auto; cursor: pointer; float: right !important; text-align:right; }
 @media screen and (max-width:490px){
+	#responsive img { width:48px; }
 	#facebook-link{display:none; }
 	p { margin: 0px; }
 	.titulos { width:100%; margin: 0px; padding:5px 0px;}

+ 2 - 2
index.php

@@ -7,9 +7,9 @@
     </script>
     <script type="text/javascript">
 	    $(document).ready(function () {
-			var availableWidth = [ 1024, 1400, 1920];
+			var availableWidth = [ 500, 1024, 1400, 1920];
 			var size=0; 
-			while ($(window).width() > availableWidth[0] && size < availableWidth.length-1 ) 
+			while ($(window).width() > availableWidth[size] && size < availableWidth.length-1 ) 
 				size++;
 			$("#banner").attr("src","Images/slider/slide1-"+availableWidth[size]+".jpg");