-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathnews_style.css
61 lines (54 loc) · 1.1 KB
/
news_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
body, html {
height: 100%;
background: url("images/news.jpg") no-repeat center center fixed;
background-size: cover;
}
.flex-container {
display: -webkit-flex;
display: flex;
width: auto;
height: auto;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.flex-item {
-webkit-flex-direction: column;
flex-direction: column;
flex: 1 1 550px;
background-color: #EEEEEE;
width: auto;
height: auto;
max-height: 65vh;
margin: 10px;
overflow-y: auto;
box-shadow: 2px 3px 8px #888888;
border-radius: 4px;
}
.flex-container-title {
display: -webkit-flex;
display: flex;
width: auto;
height: auto;
background-color: #2E7D32;
}
.flex-container-body {
display: -webkit-flex;
display: flex;
background-color: #EEEEEE;
}
h1[id="title"] {
margin-left: 20px;
font-family: Roboto-Thin;
color: #FAFAFA;
}
p[id="date"] {
font-size: 20px;
color: #FAFAFA;
margin-left: 20px;
font-family: Roboto-Regular;
}
p[id="news_body"] {
font-size: 24px;
margin-left: 20px;
font-family: Roboto-Regular;
}