-
-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathcustom.css
More file actions
116 lines (98 loc) · 1.9 KB
/
custom.css
File metadata and controls
116 lines (98 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
:root {
--theme-color: #3f51b5;
--accent-color: #ff4081;
--border-color: #e0e0e0;
}
body {
font-family: "Rubik", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
transition: background-color 0.3s ease;
}
/* Theme toggle button */
#theme-toggle {
position: fixed;
bottom: 100px;
right: 20px;
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--theme-color);
color: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 999;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
font-size: 1.2rem;
transition: all 0.3s ease;
}
#theme-toggle:hover {
transform: scale(1.1);
}
/* Navigation buttons */
.nav-buttons {
margin: 3rem 0;
padding: 1.5rem 1rem;
display: flex;
justify-content: space-between;
}
.nav-button {
padding: 0.6rem 1.2rem;
border-radius: 4px;
background: var(--theme-color);
color: white !important;
text-decoration: none !important;
transition: all 0.3s ease;
display: inline-block;
}
.nav-button:hover {
background: var(--accent-color);
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Dark mode specific styles */
.dark {
--border-color: #444;
}
.dark .nav-button {
background: var(--accent-color);
}
.dark .nav-button:hover {
background: #ff2674;
}
/* Existing sidebar styles (keep these) */
.sidebar {
width: 280px !important;
padding: 20px !important;
}
.sidebar-nav {
padding: 0 !important;
}
.sidebar-nav li {
margin: 0.5rem 0;
}
.sidebar-nav a {
border-radius: 4px;
padding: 6px 10px !important;
transition: all 0.2s ease;
}
.sidebar-nav a:hover {
background: rgba(var(--theme-color), 0.1);
}
.markdown-section {
max-width: 900px;
padding: 2rem 3rem;
direction: rtl;
}
.dark .sidebar {
background-color: #1e1e1e !important;
}
.dark .sidebar-nav a {
color: #e0e0e0 !important;
}
code {
direction: ltr;
}