feature/estilos_don_confiao_comprar #23
| @@ -1,33 +1,33 @@ | ||||
|  | ||||
| nav#main_menu ul { | ||||
|   list-style: none; | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   padding-bottom: 1em; | ||||
| } | ||||
|  | ||||
| nav#main_menu li { | ||||
|   margin-right: 20px; | ||||
| } | ||||
|  | ||||
| nav#main_menu a { | ||||
|   text-decoration: none; | ||||
|   color: #333; | ||||
|   background-color: #f0f0f0; | ||||
|   font-weight: bold; | ||||
|   color: white; | ||||
|   background-color: #178E79 ; | ||||
|   padding: 10px 20px; | ||||
|   border: none; | ||||
|   min-width: 90%; | ||||
|   text-align: center; | ||||
|   border: solid #178E79 4px; | ||||
|   border-radius: 5px; | ||||
|   cursor: pointer; | ||||
| } | ||||
|  | ||||
| nav#main_menu a:hover { | ||||
|   background-color: #ccc; | ||||
|   color: #666; | ||||
|   transition: ease-in-out 0.2s; | ||||
|   background-color: #7BDCB5; | ||||
|   color: #178E79; | ||||
| } | ||||
|  | ||||
| nav#main_menu a:active { | ||||
|   background-color: #aaa; | ||||
|   color: #444; | ||||
| } | ||||
|  | ||||
| nav#main_menu { | ||||
|   display: inline; | ||||
| } | ||||
|  | ||||
| li{ | ||||
|   width: 100%; | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
| } | ||||
|   | ||||
| @@ -1,14 +1,17 @@ | ||||
| {% load static %} | ||||
|  | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <html lang="en" class="h-full"> | ||||
|     <head> | ||||
|         <title>Don Confiao - Tienda la Ilusión</title> | ||||
|     </head> | ||||
|     <body> | ||||
|         <div id="menu"> | ||||
|     <body class="flex h-full"> | ||||
|         <div id="menu" class="w-2/12 border bg-green-100"> | ||||
|             {% include 'don_confiao/menu.html' %} | ||||
|         </div> | ||||
|         <div id="content"> | ||||
|         <div id="content" class="w-7/12"> | ||||
|             {% block content %} {% endblock %} | ||||
|         </div> | ||||
|     </body> | ||||
|     <script src="https://cdn.tailwindcss.com/"></script>  | ||||
|  | ||||
| </html> | ||||
|   | ||||
| @@ -1,12 +1,13 @@ | ||||
| {% load static %} | ||||
| <link rel="stylesheet" type="text/css" href="{% static 'css/main_menu.css' %}"> | ||||
| <nav id="main_menu"> | ||||
|     <ul> | ||||
| <nav id="main_menu" class="h-full"> | ||||
|     <ul class="h-full flex flex-col m-0 p-0 justify-center gap-y-12 items-center"> | ||||
|         <li><a href='/don_confiao/comprar' >Comprar</a></li> | ||||
|         <li><a href='/don_confiao/compras'>Compras</a></li> | ||||
|         <li><a href='/don_confiao/lista_productos'>Productos</a></li> | ||||
|         <li><a href='/don_confiao/importar_productos'>Importar Productos</a></li> | ||||
|         <li><a href='/don_confiao/cuadrar_tarro'>Cuadrar tarro</a></li> | ||||
|          | ||||
|     </ul> | ||||
| </nav> | ||||
| <script src="https://cdn.tailwindcss.com/"></script>  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	
@camilogs el uso de cdn remoto hace que si se usa fuera de linea no funcione correctamente.