Compare commits
No commits in common. "e717d96683ff52ff230eba41588f6b269df93cf7" and "48973968fb1e4b87eee0589c39bcb200dac8616b" have entirely different histories.
e717d96683
...
48973968fb
@ -14,14 +14,6 @@ header img {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
position: absolute – wyrzuca tekst z normalnego przepływu strony i umieszcza go nad obrazkiem.
|
|
||||||
top: 50%; left: 50% – zaczyna od środka nagłówka.
|
|
||||||
transform: translate(-50%, -50%) – przesuwa tekst o połowę jego szerokości/wysokości, by był idealnie wyśrodkowany.
|
|
||||||
color: white – biały tekst na ciemnym tle obrazka.
|
|
||||||
font-size: 48px – duży tekst.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.header-text {
|
.header-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@ -32,10 +24,6 @@ header img {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
nav (menu) i footer (stopka) mają ciemnoszare tło (#625B5B), biały tekst i padding.
|
|
||||||
text-align: center – centruje zawartość.
|
|
||||||
*/
|
|
||||||
nav, footer {
|
nav, footer {
|
||||||
background-color: #625B5B;
|
background-color: #625B5B;
|
||||||
color: white;
|
color: white;
|
||||||
@ -43,16 +31,6 @@ nav, footer {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
a w nav to linki:
|
|
||||||
font-weight: bold – pogrubienie
|
|
||||||
background-color: #EAEAEA – jasny tło przycisków
|
|
||||||
color: #625B5B – ciemny kolor tekstu
|
|
||||||
padding: 10px – przestrzeń wewnątrz przycisku
|
|
||||||
margin: 50px – duża przestrzeń między linkami
|
|
||||||
border-radius: 20px – zaokrąglone rogi
|
|
||||||
text-decoration: none – usuwa podkreślenie linków
|
|
||||||
*/
|
|
||||||
nav a {
|
nav a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background-color: #EAEAEA;
|
background-color: #EAEAEA;
|
||||||
@ -68,3 +46,23 @@ nav a:hover {
|
|||||||
color: #EAEAEA;
|
color: #EAEAEA;
|
||||||
border: 1px solid #EAEAEA;
|
border: 1px solid #EAEAEA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-left: 40px;
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border: 1px dashed #625B5B;
|
||||||
|
width: 60%;
|
||||||
|
margin-left: 40px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.kontrolki {
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|||||||
6
i1.html
6
i1.html
@ -6,19 +6,15 @@
|
|||||||
<link rel="stylesheet" href="css/layout.css">
|
<link rel="stylesheet" href="css/layout.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<img src="imgs/baner.png" alt="kursy komputerowe">
|
<img src="imgs/baner.png" alt="kursy komputerowe">
|
||||||
<div class="header-text">Kursy komputerowe</div>
|
<div class="header-text">hello</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<a href="i1.html">Strona główna</a>
|
<a href="i1.html">Strona główna</a>
|
||||||
<a href="raty.html">Koszt rat</a>
|
<a href="raty.html">Koszt rat</a>
|
||||||
<a href="https://moje-szkolenia.pl/">Nasz partner</a>
|
<a href="https://moje-szkolenia.pl/">Nasz partner</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<h3>Kursy komputerowe - programowanie</h3>
|
<h3>Kursy komputerowe - programowanie</h3>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
BIN
imgs/baner.png
BIN
imgs/baner.png
Binary file not shown.
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 184 KiB |
Loading…
Reference in New Issue
Block a user