|
|
| (164 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) |
| Linha 1: |
Linha 1: |
| − | /** o código CSS colocado aqui será aplicado a todos os temas */
| |
| | | | |
| − | /* Layout principal */
| |
| − | #content {
| |
| − | display: flex;
| |
| − | flex-direction: column;
| |
| − | align-items: center;
| |
| − | background-color: #ffffff;
| |
| − | padding: 20px;
| |
| − | margin: 0 auto;
| |
| − | max-width: 1200px; /* Largura máxima para desktops */
| |
| − | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
| |
| − | border-radius: 10px;
| |
| − | }
| |
| − |
| |
| − | @media (max-width: 768px) {
| |
| − | #content {
| |
| − | padding: 15px;
| |
| − | max-width: 100%;
| |
| − | }
| |
| − | }
| |
| − |
| |
| − | /* Sidebar - Oculta em telas menores e deixa o conteúdo centralizado */
| |
| − | #mw-panel {
| |
| − | display: flex;
| |
| − | flex-direction: column;
| |
| − | background-color: #006400; /* Cor verde do IF */
| |
| − | padding: 10px;
| |
| − | width: 250px;
| |
| − | }
| |
| − |
| |
| − | @media (max-width: 768px) {
| |
| − | #mw-panel {
| |
| − | display: none; /* Oculta sidebar em telas pequenas */
| |
| − | }
| |
| − | }
| |
| − |
| |
| − |
| |
| − |
| |
| − | /* Menu de navegação - Barra lateral com ícones */
| |
| − | #p-navigation {
| |
| − | width: 90px; /* Largura fixa para a barra lateral */
| |
| − | background-color: #555; /* Cor de fundo da barra */
| |
| − | position: fixed; /* Fixa a barra na lateral */
| |
| − | height: 100vh; /* Ocupa toda a altura da tela */
| |
| − | top: 0;
| |
| − | left: 0;
| |
| − | display: flex;
| |
| − | flex-direction: column; /* Exibe os itens em coluna */
| |
| − | justify-content: flex-start;
| |
| − | align-items: center; /* Alinha os ícones ao centro */
| |
| − | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
| |
| − | z-index: 1000; /* Mantém a barra acima do conteúdo */
| |
| − | }
| |
| − |
| |
| − | /* Estilo para os links no menu */
| |
| − | #p-navigation a {
| |
| − | display: block; /* Exibe os ícones em blocos */
| |
| − | text-align: center; /* Centraliza os ícones */
| |
| − | padding: 16px; /* Espaçamento em volta dos ícones */
| |
| − | transition: all 0.3s ease; /* Efeito de transição suave */
| |
| − | color: white;
| |
| − | font-size: 36px; /* Tamanho do ícone */
| |
| − | text-decoration: none; /* Remove o sublinhado */
| |
| − | }
| |
| − |
| |
| − | #p-navigation a:hover {
| |
| − | background-color: #000; /* Cor de fundo ao passar o mouse */
| |
| − | }
| |
| − |
| |
| − | /* Ícone ativo com destaque */
| |
| − | #p-navigation .active {
| |
| − | background-color: #04AA6D; /* Cor de destaque para o ícone ativo */
| |
| − | }
| |
| − |
| |
| − | /* Ajuste para o menu em dispositivos móveis */
| |
| − | @media (max-width: 768px) {
| |
| − | #p-navigation {
| |
| − | width: 100%; /* O menu ocupa toda a largura da tela */
| |
| − | height: auto;
| |
| − | flex-direction: row; /* Ícones dispostos horizontalmente */
| |
| − | justify-content: space-around;
| |
| − | position: relative;
| |
| − | }
| |
| − |
| |
| − | #p-navigation a {
| |
| − | font-size: 24px; /* Reduz o tamanho dos ícones em telas pequenas */
| |
| − | padding: 10px;
| |
| − | }
| |
| − | }
| |
| − |
| |
| − |
| |
| − |
| |
| − | <div id="p-navigation">
| |
| − | <a class="active" href="#"><i class="fa fa-home"></i></a>
| |
| − | <a href="#"><i class="fa fa-search"></i></a>
| |
| − | <a href="#"><i class="fa fa-envelope"></i></a>
| |
| − | <a href="#"><i class="fa fa-globe"></i></a>
| |
| − | <a href="#"><i class="fa fa-trash"></i></a>
| |
| − | </div>
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − | /* Tipografia geral */
| |
| − | body {
| |
| − | font-family: 'Open Sans', sans-serif;
| |
| − | line-height: 1.6;
| |
| − | background-color: #f4f4f4; /* Fundo claro */
| |
| − | color: #333;
| |
| − | margin: 0;
| |
| − | padding: 0;
| |
| − | }
| |
| − |
| |
| − | h1, h2, h3, h4, h5, h6 {
| |
| − | color: #006400; /* Verde do IF para títulos */
| |
| − | margin-bottom: 20px;
| |
| − | }
| |
| − |
| |
| − | a {
| |
| − | color: #006400; /* Cor dos links */
| |
| − | text-decoration: none;
| |
| − | transition: color 0.3s ease;
| |
| − | }
| |
| − |
| |
| − | a:hover {
| |
| − | color: #32CD32;
| |
| − | }
| |
| − |
| |
| − |
| |
| − |
| |
| − | /* Botões */
| |
| − | button, .button {
| |
| − | background-color: #006400;
| |
| − | color: white;
| |
| − | border: none;
| |
| − | padding: 10px 20px;
| |
| − | border-radius: 5px;
| |
| − | font-size: 16px;
| |
| − | cursor: pointer;
| |
| − | transition: background-color 0.3s ease;
| |
| − | }
| |
| − |
| |
| − | button:hover, .button:hover {
| |
| − | background-color: #228B22; /* Sombra mais clara no hover */
| |
| − | }
| |
| − |
| |
| − | button:active, .button:active {
| |
| − | background-color: #32CD32;
| |
| − | }
| |
| − |
| |
| − |
| |
| − | /* Rodapé */
| |
| − | #footer {
| |
| − | background-color: #006400;
| |
| − | color: white;
| |
| − | padding: 20px;
| |
| − | text-align: center;
| |
| − | margin-top: 20px;
| |
| − | border-radius: 5px;
| |
| − | }
| |
| − |
| |
| − | #footer a {
| |
| − | color: white;
| |
| − | text-decoration: underline;
| |
| − | }
| |
| − |
| |
| − | @media (max-width: 768px) {
| |
| − | #footer {
| |
| − | font-size: 14px;
| |
| − | }
| |
| − | }
| |
| − |
| |
| − |
| |
| − |
| |
| − |
| |
| − | /* Imagens responsivas */
| |
| − | img {
| |
| − | max-width: 100%;
| |
| − | height: auto;
| |
| − | border-radius: 10px;
| |
| − | box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
| |
| − | }
| |
| − |
| |
| − |
| |
| − | /* Ajustes responsivos para tablets e dispositivos móveis */
| |
| − | @media (max-width: 1024px) {
| |
| − | #content {
| |
| − | padding: 15px;
| |
| − | max-width: 90%;
| |
| − | }
| |
| − |
| |
| − | h1, h2, h3 {
| |
| − | font-size: 1.5em;
| |
| − | }
| |
| − | }
| |
| − |
| |
| − | @media (max-width: 768px) {
| |
| − | h1, h2, h3 {
| |
| − | font-size: 1.2em;
| |
| − | }
| |
| − |
| |
| − | #p-navigation ul {
| |
| − | flex-direction: column;
| |
| − | }
| |
| − |
| |
| − | #p-navigation li {
| |
| − | margin: 10px 0;
| |
| − | }
| |
| − | }
| |