aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2025-09-28 21:12:02 +0300
committerTolmachev Igor <me@igorek.dev>2025-09-28 21:12:02 +0300
commitf49d344927c5d4ea067104833c4ac1074bec6263 (patch)
tree15be6e8b9326255a557bd3369c3ef44817c13948
parentc31641bfd2abfda5312e7d9ae7411a58063bd2df (diff)
downloadpages-f49d344927c5d4ea067104833c4ac1074bec6263.tar.gz
pages-f49d344927c5d4ea067104833c4ac1074bec6263.zip
Improve css
-rw-r--r--style.css20
1 files changed, 12 insertions, 8 deletions
diff --git a/style.css b/style.css
index 70e92e2..bee5b8c 100644
--- a/style.css
+++ b/style.css
@@ -60,9 +60,9 @@ nav > * {
60 60
61 text-decoration: none; 61 text-decoration: none;
62 text-align: center; 62 text-align: center;
63 text-wrap: nowrap;
63 overflow: hidden; 64 overflow: hidden;
64 text-overflow: ellipsis; 65 text-overflow: ellipsis;
65 white-space: nowrap;
66} 66}
67 67
68nav > .current { 68nav > .current {
@@ -91,6 +91,11 @@ footer > :last-child {
91 margin-bottom: 0; 91 margin-bottom: 0;
92} 92}
93 93
94ul {
95 list-style: none;
96 padding-left: 0;
97}
98
94a, 99a,
95.copy { 100.copy {
96 color: var(--color-primary); 101 color: var(--color-primary);
@@ -101,22 +106,21 @@ a,
101 color: var(--color-secondary); 106 color: var(--color-secondary);
102} 107}
103 108
104ul {
105 list-style: none;
106 padding-left: 0;
107}
108
109.links { 109.links {
110 display: flex; 110 display: flex;
111 flex-wrap: wrap;
111 gap: 1rem; 112 gap: 1rem;
113
114 margin-top: 1rem;
112} 115}
113 116
114.links > a { 117.links > a {
115 flex: 1; 118 flex: 1;
116 119
120 text-decoration: none;
117 text-align: center; 121 text-align: center;
118 margin-top: 1rem; 122 text-wrap: nowrap;
119 padding: 0.25rem; 123 padding: 0.25rem 1rem;
120 124
121 border: 0.1rem solid var(--color-primary); 125 border: 0.1rem solid var(--color-primary);
122 border-radius: 1rem; 126 border-radius: 1rem;