PHP Classes

File: frontend/css/style.css

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Micro-Blog   frontend/css/style.css   Download  
File: frontend/css/style.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Micro-Blog
Blog management system extensible with classes
Author: By
Last change:
Date: 2 days ago
Size: 4,448 bytes
 

Contents

Class file image Download
*{ margin: 0; padding: 0; box-sizing: border-box; } body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f4f4f9; color: #333; } h1, h2, h3 { color: #2c3e50; } nav { background-color: #3498db; padding: 10px 20px; position: sticky; top: 0; z-index: 1000; width: 100%; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); display: flex; justify-content: center; } nav a { color: #fff; text-decoration: none; margin: 0 15px; font-weight: bold; font-size: 1.1em; transition: color 0.3s; } nav a:hover { color: #f1c40f; } .router-link-active{ color: #000000; } router-link { display: inline-block; width: 100%; } section { display: flex; flex-direction: column; align-items: center; margin: 20px; padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } h2 { border-bottom: 2px solid #3498db; padding-bottom: 10px; margin-bottom: 20px; } p { line-height: 1.6; } .postagem { background-color: #f0f9ff; } .portfolio { background-color: #43f6b1; } .card-container{ display: flex; flex-wrap: wrap; justify-content: center; } .card{ display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 16px; margin: 20px; } .card:hover { transform: translateY(-5px); } .card img { width: 100%; height: auto; display: block; } .card h3 { padding: 15px; margin: 0; font-size: 1.2em; color: #34495e; } .card p { padding: 0 15px 15px; color: #7f8c8d; } .card-wrapper { flex-basis: calc(33.333% - 16px); margin-bottom: 16px; } .card-wrapper a { display: block; width: 100%; height: 100%; } ul { list-style-type: none; padding: 0; } ul li { background-color: #ecf0f1; padding: 10px; margin: 10px 0; border-left: 5px solid #3498db; } ul li:hover { background-color: #dcdde1; } .card img { border-radius: 8px; max-width: 50%; height: auto; } .carousel-container { position: relative; width: 100%; max-width: 800px; margin: 0 auto; overflow: hidden; } .carousel-slide img { width: 100%; height: auto; display: block; } .carousel-indicators { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; } .carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); border: none; cursor: pointer; transition: background-color 0.3s ease; } .carousel-indicators button.active { background-color: rgba(255, 255, 255, 1); } .carousel-indicators button:hover { background-color: rgba(255, 255, 255, 0.8); } .page-footer { position: relative; bottom: 0; background-color: #2c3e50; color: #ffffff; padding-top: 40px; padding-bottom: 20px; font-family: 'Arial', sans-serif; } .footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; } .footer-column { flex: 1; min-width: 200px; } .footer-column h5 { font-size: 18px; font-weight: bold; margin-bottom: 20px; } .footer-column p, .footer-column a { color: #b0bec5; font-size: 15px; text-decoration: none; } .footer-column a:hover { color: #e67e22; } .footer-column ul { list-style-type: none; padding: 0; } .footer-column ul li { margin-bottom: 10px; } .footer-column ul li a { transition: color 0.3s ease; } .footer-bottom { background-color: #1a252f; padding: 10px 0; color: #b0bec5; font-size: 14px; } .footer-bottom a { color: #e67e22; } .footer-bottom a:hover { color: #ffffff; } @media screen and (max-width: 768px) { .footer-content { flex-direction: column; text-align: center; } .footer-column { margin-bottom: 20px; } .card { width: calc(50% - 16px); } } @media (max-width: 480px) { .card { width: 100%; } } table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth-child(even) { background-color: #dddddd; }