Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

Commit dddb5b7

Browse files
Johannes HoppeJohannes Hoppe
Johannes Hoppe
authored and
Johannes Hoppe
committed
app.css: now it fits into the book listing
1 parent c1debbc commit dddb5b7

File tree

1 file changed

+37
-42
lines changed

1 file changed

+37
-42
lines changed

app/app.css

+37-42
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,70 @@
11
/*
2-
In NativeScript, the app.css file is where you place CSS rules that
3-
you would like to apply to your entire application. Check out
4-
http://docs.nativescript.org/ui/styling for a full list of the CSS
5-
selectors and properties you can use to style UI components.
2+
In NativeScript, the app.css file is where you place CSS rules
3+
that you would like to apply to your entire application.
64
7-
For example, the following CSS rule changes the font size of all UI
8-
components that have the btn class name.
5+
For example, the following CSS rule changes the font size of all
6+
UI components that have the btn class name.
97
*/
108
.btn {
11-
font-size: 18;
9+
font-size: 18;
1210
}
1311
.ui.tiny.image {
14-
width: 60px;
15-
margin-right:5;
16-
height: auto;
17-
font-size: 0.85714286rem;
12+
width: 60px;
13+
margin-right:5;
14+
height: auto;
15+
font-size: 0.85714286rem;
1816
}
1917
.ui.large.image {
20-
width: 100px;
21-
margin-right:5;
22-
height: auto;
23-
font-size: 0.85714286rem;
18+
width: 100px;
19+
margin-right:5;
20+
height: auto;
21+
font-size: 0.85714286rem;
2422
}
2523
.ui.red.button {
26-
background-color: #DB2828;
27-
color: white;
24+
background-color: #DB2828;
25+
color: white;
2826
}
2927
.book-details {
30-
padding: 8;
28+
padding: 8;
3129
}
3230
.active {
33-
background-color: gray;
34-
color:white;
31+
background-color: gray;
32+
color:white;
3533
}
3634
.content .header{
37-
line-height: 1.3em;
38-
font-weight:bold;
39-
}
40-
.content .description{
35+
line-height: 1.3em;
36+
font-weight:bold;
4137
}
4238
.content .metadata{
43-
color:darkgray;
39+
color:darkgray;
4440
}
4541
.item {
46-
background-color: #fcfcfc;
47-
padding:5;
48-
margin-top: 5;
49-
margin-bottom: 5;
42+
background-color: #fcfcfc;
43+
padding:5;
44+
margin-top: 5;
45+
margin-bottom: 5;
5046
}
5147
.heading {
52-
line-height: 1.2857em;
53-
font-size: 20;
54-
font-weight: normal;
48+
line-height: 1.2857em;
49+
font-size: 20;
50+
font-weight: normal;
5551
}
5652
.ui.grid .ui.header{
57-
line-height: 1.2857em;
58-
font-size: 20;
59-
font-weight: bold;
53+
line-height: 1.2857em;
54+
font-size: 20;
55+
font-weight: bold;
6056
}
6157
.ui.grid .ui.subheader{
62-
line-height: 1.2857em;
63-
font-size: 16;
64-
font-weight: normal;
58+
line-height: 1.2857em;
59+
font-size: 16;
60+
font-weight: normal;
6561
}
6662
.ui.grid label {
67-
font-size: 12;
63+
font-size: 12;
6864
}
6965

7066
/*
71-
In many cases you may want to use the NativeScript core theme instead
72-
of writing your own CSS rules. For a full list of class names in the theme
73-
refer to http://docs.nativescript.org/ui/theme.
67+
In many cases you may want to use the NativeScript core theme
68+
instead of writing your own CSS rules.
7469
*/
7570
@import 'nativescript-theme-core/css/core.light.css';

0 commit comments

Comments
 (0)