/* Reset básico */ body, h1, h2, h3, h4, h5, h6, p, ul, li, figure { margin:0; padding:0; } a { text-decoration: none; color: inherit; } ul { list-style: none; } /* Tipografia */ body { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background-color: #f8f8f8; } h1, h2, h3 { font-family: 'Playfair Display', serif; color: #222; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } /* Layout de container */ .container { width: 90%; max-width: 1200px; margin: 0 auto; } /* Cabeçalho / Navegação */ header { background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: fixed; width:100%; top:0; left:0; z-index:1000; } .header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .site-title { font-size: 1.75rem; font-weight: bold; } nav.main-nav ul { display: flex; } nav.main-nav li { margin-left: 1.5rem; } /* Introdução / Banner */ .intro { margin-top: 80px; /* compensar cabeçalho fixo */ padding: 2rem 0; text-align:center; background-color: #fff; } .intro img { max-width:150px; border-radius:50%; } .intro p { margin-top:1rem; font-size:1.125rem; color:#666; } /* Posts recentes / Destaques */ .recent-posts { padding:2rem 0; } .recent-posts .post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); grid-gap:1.5rem; } .recent-posts .post { background-color:#fff; border-radius:4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow:hidden; } .recent-posts .post img { width:100%; height:auto; display:block; } .recent-posts .post-content { padding:1rem; } .recent-posts .post-content h2 { margin-top:0; font-size:1.25rem; color:#222; } .recent-posts .post-content p { color:#666; margin:0.75rem 0; } .recent-posts .post-content a.read-more { color:#007BFF; font-weight:bold; } /* Sidebar / Widget */ .sidebar { margin-top:2rem; } .widget { background:#fff; padding:1rem; margin-bottom:1.5rem; border-radius:4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .widget h3 { margin-bottom:1rem; font-size:1.25rem; color:#222; border-bottom:1px solid #eee; padding-bottom:0.5rem; } .widget ul li { margin-bottom:0.75rem; } .widget ul li a { color:#007BFF; } /* Footer */ footer { background:#222; color:#ccc; padding:2rem 0; text-align:center; font-size:0.875rem; } footer a { color:#ccc; } /* Responsividade */ @media screen and (max-width:768px) { .header-inner { flex-direction: column; } nav.main-nav ul { flex-direction: column; margin-top:1rem; } .recent-posts .post-list { grid-template-columns: 1fr; } }
Home
Leia mais →