css changes

This commit is contained in:
Filip Rojek 2023-03-07 16:36:16 +01:00
parent 8f1dc7e9a8
commit bc4f2c7935
6 changed files with 13 additions and 9 deletions

View File

@ -1 +1,2 @@
<p>(c) filiprojek.cz 2023<p> <p>(c) filiprojek.cz 2023<p>

View File

@ -22,6 +22,8 @@
padding: var(--base-padding); padding: var(--base-padding);
margin-top: 1.5rem; margin-top: 1.5rem;
cursor: pointer; cursor: pointer;
background-color: white;
color: black;
} }
.form_contact textarea { .form_contact textarea {

View File

@ -1,3 +1,8 @@
.content h1 {
text-align: center;
margin-bottom: 2rem;
}
.projects { .projects {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -9,9 +9,8 @@ body {
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
font-family: 'Source Code Pro', monospace; font-family: 'Source Code Pro', monospace;
background: black; background: var(--background);
color: white; color: var(--color);
border: 1px solid purple;
} }
html { html {
@ -34,7 +33,6 @@ html {
.nav { .nav {
position: relative; position: relative;
display: flex; display: flex;
border: 1px solid red;
padding: 1rem; padding: 1rem;
justify-content: space-between; justify-content: space-between;
isolation: isolate; isolation: isolate;
@ -42,7 +40,6 @@ html {
.nav .logo img { .nav .logo img {
height: 3rem; height: 3rem;
border: 1px solid orange;
} }
.nav .links { .nav .links {
@ -50,7 +47,6 @@ html {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 1rem; gap: 1rem;
border: 1px solid orange;
z-index: -1; z-index: -1;
} }
@ -62,7 +58,6 @@ html {
} }
.content { .content {
border: 1px solid green;
padding: 2rem 1rem; padding: 2rem 1rem;
} }
@ -72,6 +67,6 @@ footer {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
align-self: flex-end; align-self: flex-end;
border: 1px solid cyan;
margin-top: auto; margin-top: auto;
margin-bottom: 2rem;
} }

View File

@ -61,6 +61,7 @@ if($prod) { ?>
<link rel="icon" type="image/x-icon" href="/img/fr.ico" /> <link rel="icon" type="image/x-icon" href="/img/fr.ico" />
<link rel="canonical" href="<?= $canonical ?>" /> <link rel="canonical" href="<?= $canonical ?>" />
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/variables.css">
</head> </head>
<body> <body>
<?php <?php

View File

@ -1,5 +1,5 @@
<link rel="stylesheet" href="/css/projects.css"> <link rel="stylesheet" href="/css/projects.css">
<h3>Projekty</h3> <h1>Projekty</h1>
<section class="projects"> <section class="projects">
<div class="card"> <div class="card">