Updated CSSs

This commit is contained in:
2022-11-08 12:18:57 +03:00
parent 3896ed0a29
commit e84b7c8a2c
4 changed files with 67 additions and 34 deletions
@@ -1,21 +1,21 @@
div.calendarpage { div.calendarpage {
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
border: 1px solid black; border: 3px solid #000000;
border-radius: 20px; border-radius: 20px;
} }
h2.year { h2.year {
text-align: center; text-align: center;
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px solid black; border-bottom: 1px solid #000000;
margin-bottom: 20px; margin-bottom: 20px;
} }
table.month, table.month th, table.month td { table.month, table.month th, table.month td {
border: 1px solid white; border: 1px solid #fefefe;
border-collapse: collapse; border-collapse: collapse;
background: gainsboro; background: #dcdcdc;
} }
table.month th { table.month th {
@@ -29,7 +29,7 @@ table.month td {
} }
table.month td.with_events { table.month td.with_events {
background: dimgrey; background: #0080c0;
} }
table.month th.subtitle { table.month th.subtitle {
@@ -39,29 +39,29 @@ table.month th.subtitle {
table.month a { table.month a {
text-decoration: none; text-decoration: none;
color: black; color: #000000;
padding: 3px; padding: 3px;
} }
a.current_day { a.current_day {
border-radius: 3px; border-radius: 3px;
background: DeepSkyBlue; background: #696969;
color: black; color: #fefefe;
} }
table.month td.with_events a { table.month td.with_events a {
color: white; color: #fefefe;
} }
div.calendar { div.calendar {
column-width: 350px; column-width: 350px;
column-rule: 1px solid black; column-rule: 1px solid #000000;
column-gap: 25px; column-gap: 25px;
} }
div.calendar-events { div.calendar-events {
column-width: 725px; column-width: 725px;
column-rule: 1px solid black; column-rule: 1px solid #000000;
column-gap: 25px; column-gap: 25px;
} }
@@ -84,38 +84,44 @@ table.month {
div.event, div.event,
div.event-gm, div.event-gm,
div.event-suggested { div.event-suggested {
border: 1px solid black; border: 1px solid #000000;
padding: 20px; padding: 20px;
margin: auto; margin: auto;
margin-bottom: 15px; margin-bottom: 15px;
border-radius: 10px; border-radius: 10px;
max-width: 700px; max-width: 700px;
break-inside: avoid; break-inside: avoid;
background: #f0f0f0;
} }
div.event { div.event {
border: 1px solid black; border: 1px solid #000000;
} }
div.event-gm { div.event-gm {
border: 2px solid BlueViolet; border: 2px solid #0080c0;
} }
div.event-suggested { div.event-suggested {
border: 2px solid crimson; border: 2px solid #dc143c;
} }
div.event-time { div.event-time {
border: 1px solid black; border: 1px solid #000000;
border-radius: 3px; border-bottom-right-radius: 10px;
border-top-left-radius: 10px;
padding: 3px 5px; padding: 3px 5px;
margin-right: 15px; margin-right: 15px;
margin-left: -21px;
margin-top: -21px;
float: left; float: left;
font-weight: bold; font-weight: bold;
background: DeepSkyBlue; background: #696969;
color: #fefefe;
font-size: 150%; font-size: 150%;
min-width: 100px; min-width: 100px;
text-align: center; text-align: center;
} }
div.event-title { div.event-title {
@@ -123,6 +129,7 @@ div.event-title {
text-decoration: underline; text-decoration: underline;
font-size: 200%; font-size: 200%;
margin-bottom: 10px; margin-bottom: 10px;
margin-top: -21px;
} }
p.event-description { p.event-description {
@@ -131,7 +138,7 @@ p.event-description {
} }
p.calendar-error { p.calendar-error {
color: crimson; color: #dc143c;
font-size: 200%; font-size: 200%;
} }
@@ -139,7 +146,3 @@ p.calendar-info {
font-size: 200%; font-size: 200%;
} }
body > div {
max-width: 1600px;
margin: auto;
}
+1 -1
View File
@@ -1,7 +1,7 @@
div.linkspage { div.linkspage {
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
border: 1px solid black; border: 3px solid #000000;
border-radius: 20px; border-radius: 20px;
} }
+37 -7
View File
@@ -1,17 +1,17 @@
div.mainpage { div.mainpage {
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
border: 1px solid black; border: 3px solid #000000;
border-radius: 20px; border-radius: 20px;
} }
aside.menu { aside.menu {
border: 3px solid black; border: 3px solid #000000;
border-radius: 10px; border-radius: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 15px; padding: 15px;
margin: 25px; margin: 10px;
} }
div.menu { div.menu {
@@ -22,9 +22,9 @@ div.menu {
aside.menu a { aside.menu a {
border-radius: 10px; border-radius: 10px;
text-decoration: none; text-decoration: none;
color: black; color: #000000;
font-weight: bold; font-weight: bold;
background: DeepSkyBlue; background: #00bfff;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
@@ -37,8 +37,38 @@ aside.menu a {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
} }
aside.menu a:hover { aside.menu a:hover {
background: DodgerBlue; background: #00a0e0;
} margin-top: 11px;
margin-bottom: 9px;
}
aside.menu a:active {
background: #0080c0;
margin-top: 13px;
margin-bottom: 7px;
}
body {
background: #555555;
}
body > div {
max-width: 1600px;
margin: auto;
}
body > div > * {
background: #fefefe;
}
+3 -3
View File
@@ -21,13 +21,13 @@
<div class="page"> <div class="page">
<aside class="menu"> <aside class="menu">
<div class="menu"> <div class="menu">
<a class="menuitem" href="/"> <a draggable="false" class="menuitem" href="/">
Главная Главная
</a> </a>
<a class="menuitem" href="/calendar"> <a draggable="false" class="menuitem" href="/calendar">
Календарь Календарь
</a> </a>
<a class="menuitem" href="/links"> <a draggable="false" class="menuitem" href="/links">
Полезные ссылки Полезные ссылки
</a> </a>
</div> </div>