-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (115 loc) · 2.04 KB
/
Copy pathstyle.css
File metadata and controls
117 lines (115 loc) · 2.04 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
/* "waaaa headers are part of body waaa follow our amazing thoery"*/
body{
height: 100%;
width: 100%;
margin: 0;
color: #fdf6e3;
line-height: 1.6;
font-size: 18px;
background-color: #002b36;
}
.real-body {
margin: 40px auto;
max-width: 650px;
padding: 0 10px;
}
.real-body:has(.proj-div){
max-width: 850px;
}
h1, h2, h3 {
line-height: 1.2;
}
a {
color: #268bd2; /* Link color */
text-decoration: none;
}
a:visited {
color: #6c71c4; /* Visited link color */
}
a:hover {
color: #dc322f;
text-decoration: underline;
}
#cookie-banner {
position: fixed;
bottom: 0;
width: 100%;
font-size: 8px;
background-color: #073642;
padding: 10px;
text-align: center;
line-height: .8;
}
#accept-cookies {
border: none;
padding: 8px 16px;
cursor: pointer;
}
/*https://css-tricks.com/how-to-create-a-shrinking-header-on-scroll-without-javascript/ */
.header-inner {
height: 60px;
position: sticky;
top: 0;
}
.header-inner nav{
display: flex;
}
.header-inner nav a{
margin: 1em;
border: 1px solid #586e75;
background-color: #002b36;
}
.header-outer {
display: flex;
align-items: flex-end;
justify-content: center;
position: sticky;
top: -360px; /* Equal to the height difference between header-outer and header-inner */
height: 420px;
background-attachment: fixed;
background-position: top center;
background-repeat: no-repeat;
background-image: url('/animated.gif');
}
pre {
background-color: #073642;
font-family: monospace;
line-height: 1.2;
tab-size: 3; /*its important to compromize mmmmmmk*/
}
.codetitle{
font-style: italic;
color:#839496;
line-height: 1;
font-size: 14px;
}
.code{
background-color: #073642;
font-family: monospace;
}
.project{
max-height: 250px;
max-width: 50%;
transition-delay: .05s;
}
.project:hover{
height: auto;
max-height: none;
max-width: 100%;
}
.proj-div{
overflow:hidden;
}
table {
width: 100%;
border: 2px solid #268bd2;
}
th, td ,tr {
border: 1px solid #2aa198;
padding: 10px;
text-align: center;
}
th{
font-size: 18px;
color: #93a1a1;
}