aboutsummaryrefslogtreecommitdiffhomepage
path: root/style.css
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2025-09-28 19:54:06 +0300
committerTolmachev Igor <me@igorek.dev>2025-09-28 19:54:06 +0300
commit56ff63a455d36f0cae3a08e508675fd607e6ca4b (patch)
tree6b4fe30176be227c9319ff0e4625fa8985d2a9d1 /style.css
parent45a8f14d336fe9372f8d1461c830d66f94a7c7b2 (diff)
downloadpages-56ff63a455d36f0cae3a08e508675fd607e6ca4b.tar.gz
pages-56ff63a455d36f0cae3a08e508675fd607e6ca4b.zip
Improve project page
Diffstat (limited to 'style.css')
-rw-r--r--style.css40
1 files changed, 26 insertions, 14 deletions
diff --git a/style.css b/style.css
index 5223923..70e92e2 100644
--- a/style.css
+++ b/style.css
@@ -1,4 +1,5 @@
1@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap"); 1@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap");
2@import "https://www.nerdfonts.com/assets/css/webfont.css";
2 3
3@media (prefers-color-scheme: light) { 4@media (prefers-color-scheme: light) {
4 :root { 5 :root {
@@ -65,23 +66,28 @@ nav > * {
65} 66}
66 67
67nav > .current { 68nav > .current {
68 background-color: var(--color-primary); 69 outline: 0.1rem solid var(--color-primary);
69 color: var(--color-on-primary);
70} 70}
71 71
72main { 72main,
73section,
74footer {
73 background-color: var(--color-surface-container); 75 background-color: var(--color-surface-container);
74 border-radius: 2rem; 76 border-radius: 2rem;
75 77
76 margin: 1rem 0 5rem 0; 78 margin: 1rem 0;
77 padding: 1.5rem; 79 padding: 1.5rem;
78} 80}
79 81
80main > *:first-child { 82main > :first-child,
83section > :first-child,
84footer > :first-child {
81 margin-top: 0; 85 margin-top: 0;
82} 86}
83 87
84main > *:last-child { 88main > :last-child,
89section > :last-child,
90footer > :last-child {
85 margin-bottom: 0; 91 margin-bottom: 0;
86} 92}
87 93
@@ -96,16 +102,22 @@ a,
96} 102}
97 103
98ul { 104ul {
99 padding-left: 1.5rem; 105 list-style: none;
106 padding-left: 0;
100} 107}
101 108
102input { 109.links {
103 background: none; 110 display: flex;
104 color: var(--color-primary); 111 gap: 1rem;
105 border: none; 112}
106 113
107 width: 10rem; 114.links > a {
115 flex: 1;
116
117 text-align: center;
118 margin-top: 1rem;
119 padding: 0.25rem;
108 120
109 border-bottom: 0.01rem solid var(--color-primary); 121 border: 0.1rem solid var(--color-primary);
110 font-size: 1rem; 122 border-radius: 1rem;
111} 123}