small css refactoring. Not really happy about it
This commit is contained in:
		
							parent
							
								
									bae5f382ba
								
							
						
					
					
						commit
						d8dad98f01
					
				
					 2 changed files with 12 additions and 9 deletions
				
			
		|  | @ -118,14 +118,14 @@ | |||
|             <?php | ||||
|                 if (array_key_exists("epub", $entry->book->format)) { | ||||
|             ?>    
 | ||||
|                 <div class="button"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["epub"]) ?>">EPUB</a></div> | ||||
|                 <div class="button buttonEffect"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["epub"]) ?>">EPUB</a></div> | ||||
|             <?php | ||||
|                 } | ||||
|             ?>
 | ||||
|             <?php | ||||
|                 if (array_key_exists("pdf", $entry->book->format)) { | ||||
|             ?>    
 | ||||
|                 <div class="button"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["pdf"]) ?>">PDF</a></div> | ||||
|                 <div class="button buttonEffect"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["pdf"]) ?>">PDF</a></div> | ||||
|             <?php | ||||
|                 } | ||||
|             ?>
 | ||||
|  |  | |||
							
								
								
									
										17
									
								
								style.css
									
										
									
									
									
								
							
							
						
						
									
										17
									
								
								style.css
									
										
									
									
									
								
							|  | @ -119,22 +119,20 @@ float:right; | |||
| 
 | ||||
| .button | ||||
| { | ||||
| border-radius: 6px; | ||||
| background-color:darkgray; | ||||
| text-shadow: 0 3px 3px rgba(0, 0, 0, 0.7); | ||||
| height:36px; | ||||
| display: table; | ||||
| width:80px; | ||||
| margin:2px; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .button p, .button a | ||||
| { | ||||
| display: table-cell; | ||||
| vertical-align: middle; | ||||
| text-align: center; | ||||
| text-decoration:none; | ||||
| color:white; | ||||
| color:#EEE; | ||||
| } | ||||
| 
 | ||||
| #loading  | ||||
|  | @ -161,12 +159,17 @@ margin-bottom: 8px; | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| .tags a, .authors a | ||||
| .tags a, .authors a, .buttonEffect | ||||
| { | ||||
| border-radius: 6px; | ||||
| background: -moz-radial-gradient(#666, black);   | ||||
| padding: 6px; | ||||
| color: #EEE; | ||||
| text-decoration : none; | ||||
| font-weight: bold; | ||||
| } | ||||
| } | ||||
| 
 | ||||
| .tags a, .authors a | ||||
| { | ||||
| padding: 6px; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue