-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
executable file
·133 lines (131 loc) · 2.23 KB
/
styles.css
File metadata and controls
executable file
·133 lines (131 loc) · 2.23 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
nav {
float: left;
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 300px;
background: rgb(205, 255, 212);
box-shadow: 5px 5px 5px #777777;
}
.nav-div {
border-top: solid 2px #723700;
}
#navbar ul {
list-style-type: none;
display: flex;
flex-direction: column;
}
#navbar ul li {
border-top: solid 1px #723700;
}
.nav-link {
display: block;
padding: 10px;
text-decoration: none;
color: #3f1e00;
transition: all .7s;
}
.nav-link:hover {
background: yellow;
}
main {
margin-left: 290px;
transition: all 0.5s;
}
header {
font-size: 1.5em;
font-weight: 400;
width: 100%;
background: linear-gradient(90deg, #ffa44e, 25%, rgba(255, 255, 255, 0));
padding: 5px 15px;
margin-top: 25px;
}
.main-section {
margin-left: 30px;
}
.main-section ul {
margin-left: 15px;
}
.spacer {
height: 10px;
}
code {
font-size: 1.1em;
font-family: 'Courier New', Courier, monospace;
color: rgb(0, 75, 160);
}
p {
margin-bottom: 10px;
}
.section-inner {
background: #dddddd;
border: solid 5px #777777;
padding: 5px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
width: 70%;
overflow: auto;
}
.code-block {
background: #2b2b2b;
width: max-content;
max-height: 400px;
overflow: auto;
border-radius: 3px;
padding: 5px;
margin: 0 5px 0 5px;
}
.code-block code {
color: rgb(201, 201, 201);
font-size: 1.1em;
font-family: 'Courier New', Courier, monospace;
}
.tag {
color: rgb(255, 235, 119);
}
.css-selector {
color: rgb(255, 152, 255);
}
.css-attribute {
color: rgb(168, 198, 255);
}
@media screen and (max-width: 800px) {
nav {
transform: translateX(-293px);
transition: all 0.5s;
animation: inout 10s infinite;
}
@keyframes inout {
50% {
background-color: red;
}
}
nav:hover {
transform: translateX(0);
animation: inout none;
opacity: 0.85;
cursor: pointer;
}
main, .main-section {
margin: 0;
}
#main-doc {
width: 95%;
}
.section-inner {
width: 100%;
}
}
@media screen and (max-width: 1000px) {
main {
width: 85%;
}
}