Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: Arial;
- counter-reset: podrozdzial;
- margin-left: 200px;
- margin-right: 200px;
- }
- p:first-of-type {
- font-weight: bold;
- }
- h2 + p:first-letter {
- font-size: 200%;
- }
- table {
- width: 500px;
- margin: auto;
- border-spacing: 0px;
- }
- col:first-of-type {
- width: 50%;
- }
- col:nth-child(2) {
- width: 20%;
- }
- col:last-of-type {
- width: 30%;
- }
- th {
- background-color: darkblue;
- color: white;
- font-weight: bold;
- }
- tr:nth-child(even) {
- background-color: #CCC;
- }
- tr:nth-child(odd) {
- background-color: #FFF;
- }
- td:first-of-type {
- text-align: left;
- padding-left: 10px;
- }
- td:nth-of-type(2) {
- text-align: center;
- }
- td:last-of-type {
- text-align: center;
- }
- a[target="_blank"]:after {
- content: '[\2197]';
- }
- h2:before {
- counter-increment: podrozdzial;
- content: counter(podrozdzial) '. ';
- }
- h2 {
- counter-reset: podrozdzial2;
- }
- h3:before {
- counter-increment: podrozdzial2;
- content: counter(podrozdzial) '. ' counter(podrozdzial2) ' ';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement