aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Durango/ServiceConfig/HelpDocument/tablet.css
blob: a98addc719b8237477cff29519416118e129c3a2 (plain)
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
body
{
   font-size:50%;
   /*gradient for smartglass UI*/
   background: -webkit-linear-gradient(top, #000000 50%, #323232); /* Safari and Chrome*/
   background: -moz-linear-gradient(top, #000000 50%, #323232);/*Firefox*/
   background: -ms-linear-gradient(top, #000000 50%, #323232);/*IE*/
}

/*for smaller android tablets the line height prevents showing all 6 items*/
@media (max-height:595px) 
{
  body
    {
        font-size:44%;
    }

  .helpMenu li a
    {
        height:2.5em;
        line-height: 2.5em;
    }
}

article .contentPanel
{
    padding: 0 0 0 48px;
    position: relative;
    top: 20%;
    height: 80%;
    width:300px;
    background-color:transparent;
}

article:not(.helpMenu) .contentPanel 
{
    background:url("sg_logo_20.png") no-repeat transparent 56px 110px;
}

article .contentPanel .panelButtons
{
   display: none;
}

.pageCounter
{
    display: block;
    position: fixed;
    right: 2em;
    bottom: .5em;
    left: auto;
}

article .helpContent
{
    position: relative;
    height: 70%;
    top: 20%;
    padding: 2% 144px 2% 64px; /* right padding set to be higher than column-gap to allow "peek" (part of next column showing up next to full column). */
    background-color: transparent;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    line-height:1;
}

article .contentPanel .backLink
{
    position: fixed;
    top: 1em;
    left: 1em;
    margin: 0;
    background-position-y:2.25em;
}

/*note you must re-initialize any background properties if you swap images*/
article .contentPanel .backLink:focus 
{
     background-position-y:2.25em;
}
.articles article:not(.helpMenu) .articleTitle 
{
    top: 3.8em;
    left: 1.5em;
    height: 2em;
}
#TOC .articleTitle 
{
    left:1.75em;
}
article .contentPanel .articleTitle
{
    position: fixed;
    top: 1.85em;
    left: 4em;
    height: 3em;
    display: block;
    width: 70%;
    overflow: hidden;
}

.helpMenu li a
{
    width: 100%;
    display: block; 
    padding-bottom:.25em;
}

/*remove controller button states*/
.navLinks a, .navLinks a:focus, .navLinks a:hover:not(:focus) 
{
   
    border:none;
    background-color: transparent;
    outline:0;  
    box-shadow:none;
}