-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (98 loc) · 1.5 KB
/
style.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
html{
box-sizing: border-box;
font-family: 'Barlow', sans-serif;
margin: 0px;
padding: 0px;
}
body{
margin: 0px;
padding:0px;
min-height: 100%;
display: flex;
flex-direction: column;
}
.backgroundImage{
position: fixed;
height: 100%;
width: 100%;
background-size: contain;
z-index: -1;
overflow-x: hidden;
}
.mainBody {
display:flex;
flex-direction: row;
margin: 1.5rem;
justify-content: center;
align-items: flex-start;
}
.container{
border-radius: 0.5rem;
background-color: white ;
}
.myArticle{
width: 80%;
padding: 0.8rem;
margin: 0 0.75rem 0 0;
}
.sidebar{
width:20%;
padding: 0.8rem;
margin: 0 0 0 0.75rem;
}
ul {
list-style-type: ">>";
padding-left: 1rem;
}
a{
text-decoration: none;
color: rgb(13, 15, 81);
}
a:focus{
color: rgb(31, 30, 37);
font-style: italic;
}
.titleBox{
background-color: #e4f0ffe3 ;
border-radius: 0.5rem;
margin: 1.5rem;
padding: 0.5rem;
text-align: center;
}
.titleBox h1 {
font-size: 4rem;
margin:0.5rem;
}
.titleBox h3 {
font-style: italic;
margin: 0.5rem;
}
footer{
background-color: black;
color: white;
margin-top: auto;
text-align: center;
padding: 0.8rem;
}
.GitHubLogo{
height: 1rem;
}
footer p{
display: inline;
}
@media (max-width: 650px ){
.mainBody{
flex-direction: column;
align-items: center;
}
.myArticle{
width: 100%;
padding: 0.8rem;
margin: 0 0 0.75rem 0;
}
.sidebar{
width: 100%;
padding: 0.8rem;
margin: 0.75rem 0 0 0;
}
}