forked from tylda-public/main
		
	first
This commit is contained in:
		
						commit
						ecb59b535b
					
				
							
								
								
									
										7
									
								
								footer.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								footer.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					<footer id="footer">
 | 
				
			||||||
 | 
					<a class="link" href="#">Źródło strony</a>
 | 
				
			||||||
 | 
					<a class="link" href="/stats.php">Statystyki</a>
 | 
				
			||||||
 | 
					</footer>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										15
									
								
								header.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								header.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					<html lang="pl">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					    <link rel="stylesheet" type="text/css" href="static/css/main.css">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <title>~tylda.org~ polskie tildeverse</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div class="main-content">
 | 
				
			||||||
 | 
					    <header id="menu">
 | 
				
			||||||
 | 
					        <a class="active" href="/">~tylda.org</a>
 | 
				
			||||||
 | 
					        <a href="/wiki/">wiki</a>
 | 
				
			||||||
 | 
					        <a href="/git/">git</a>
 | 
				
			||||||
 | 
					        <a href="/register.php">dołącz</a>
 | 
				
			||||||
 | 
					    </header>
 | 
				
			||||||
							
								
								
									
										18
									
								
								index.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								index.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include 'header.php';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					?>
 | 
				
			||||||
 | 
					<div id="top-bar">
 | 
				
			||||||
 | 
					    <h1>> Strona Główna</h1>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<article id="content">
 | 
				
			||||||
 | 
					Siemano
 | 
				
			||||||
 | 
					</article>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include 'footer.php';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					?>
 | 
				
			||||||
							
								
								
									
										101
									
								
								static/css/main.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										101
									
								
								static/css/main.css
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,101 @@
 | 
				
			|||||||
 | 
					@media only screen and (max-width: 850px) {
 | 
				
			||||||
 | 
					    header#menu {
 | 
				
			||||||
 | 
					        flex-direction: column !important;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:root {
 | 
				
			||||||
 | 
					    --main: #dd9a1a;
 | 
				
			||||||
 | 
					    --bg: #111;
 | 
				
			||||||
 | 
					    --link: #ffdb96;
 | 
				
			||||||
 | 
					    --link-hover: #dd9a1a;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* {
 | 
				
			||||||
 | 
					    margin: 0;
 | 
				
			||||||
 | 
					    padding: 0;
 | 
				
			||||||
 | 
					    box-sizing: border-box;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body {
 | 
				
			||||||
 | 
					    background: var(--bg);
 | 
				
			||||||
 | 
					    color: var(--main);
 | 
				
			||||||
 | 
					    font-family: "Helvetica", "Arial", sans-serif;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					div.main-content {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    flex-direction: column;
 | 
				
			||||||
 | 
					    width: 60%;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    padding: 1rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					header#menu {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    flex-direction: row;
 | 
				
			||||||
 | 
					    height: 3rem;
 | 
				
			||||||
 | 
					    border-width: 5px;
 | 
				
			||||||
 | 
					    border-color: var(--main);
 | 
				
			||||||
 | 
					    border-style: double;
 | 
				
			||||||
 | 
					    border-radius: 5px;
 | 
				
			||||||
 | 
					    margin-bottom: 2rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					header#menu a {
 | 
				
			||||||
 | 
					    padding: 12px;
 | 
				
			||||||
 | 
					    color: var(--main);
 | 
				
			||||||
 | 
					    text-decoration: none;
 | 
				
			||||||
 | 
					    text-transform: uppercase;
 | 
				
			||||||
 | 
					    padding-inline: 30px;
 | 
				
			||||||
 | 
					    font-weight: bold;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					header#menu a.active {
 | 
				
			||||||
 | 
					    background: var(--main);
 | 
				
			||||||
 | 
					    color: var(--bg);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					header#menu a:hover {
 | 
				
			||||||
 | 
					    background: var(--main);
 | 
				
			||||||
 | 
					    color: var(--bg);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					div#top-bar {
 | 
				
			||||||
 | 
					    font-family: 'Courier New';
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					article#content {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    flex-direction: row;
 | 
				
			||||||
 | 
					    border-width: 5px;
 | 
				
			||||||
 | 
					    border-color: var(--main);
 | 
				
			||||||
 | 
					    border-style: double;
 | 
				
			||||||
 | 
					    border-radius: 5px;
 | 
				
			||||||
 | 
					    margin-top: 2rem;
 | 
				
			||||||
 | 
					    padding: 1rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					footer#footer {
 | 
				
			||||||
 | 
					    margin-top: 3rem;
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    flex-direction: row;
 | 
				
			||||||
 | 
					    gap: 1rem;
 | 
				
			||||||
 | 
					    justify-content: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.link {
 | 
				
			||||||
 | 
					    color: var(--link);
 | 
				
			||||||
 | 
					    text-decoration: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.link:hover {
 | 
				
			||||||
 | 
					    color: var(--link-hover);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					footer#footer > *:not(:last-child)::after {
 | 
				
			||||||
 | 
					    content: " ~ ";
 | 
				
			||||||
 | 
					    margin-left: 0.7rem;
 | 
				
			||||||
 | 
					    color: var(--main);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user