-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblogstyle.css
123 lines (102 loc) · 1.89 KB
/
blogstyle.css
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
body,
html {
height: 100%;
font-family: 'Anonymous Pro', monospace;
background-color: #1e1e1e;
scroll-behavior: smooth;
}
.footer {
position: relative;
left: 5px;
bottom: 10px;
right: 5px;
width: 100%;
background-color: rgb(35, 35, 35);
color: white;
text-align: center;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
a:link {
color: rgb(1, 23, 224);
background-color: transparent;
text-decoration: none;
}
a:visited {
color: rgb(182, 92, 235);
background-color: transparent;
text-decoration: none;
}
a:active {
color: rgb(24, 44, 155);
background-color: transparent;
}
.header {
padding: 30px;
text-align: center;
background: #282828;
color: white;
}
.header h1 {
font-size: 28px;
}
h4 {
font-size: 25px;
}
li {
font-size: 16px;
text-align: center;
color: rgb(200, 200, 200)
}
details {
width: 50%;
margin: 0 auto;
background: #282828;
margin-bottom: .5rem;
box-shadow: 0 .1rem 1rem -.5rem rgba(0, 0, 0, .4);
border-radius: 5px;
overflow: hidden;
padding-top: 2.5px;
padding-right: 2.5px;
padding-bottom: 2.5px;
}
summary {
padding: 1rem;
display: block;
background: #333;
padding-left: 2.2rem;
position: relative;
cursor: pointer;
}
summary:before {
content: '';
border-width: .4rem;
border-style: solid;
border-color: transparent transparent transparent #fff;
position: absolute;
top: 1.3rem;
left: 1rem;
transform: rotate(0);
transform-origin: .2rem 50%;
transition: .25s transform ease;
}
details[open]>summary:before {
transform: rotate(90deg);
}
details summary::-webkit-details-marker {
display: none;
}
details>ul {
padding-bottom: 2rem;
margin-bottom: 0;
}
/* Custom elements (boxes, typewriter effect, etc) */
.container {
display: flex;
justify-content: space-around
}
* {
box-sizing: border-box;
}