-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
151 lines (146 loc) · 4.33 KB
/
styles.css
File metadata and controls
151 lines (146 loc) · 4.33 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/* ==========================================================================
AUTHOR: NATHAN GRIFFIN
========================================================================== */
/* ==========================================================================
CONTENT SELECTORS
========================================================================== */
* {
box-sizing: content-box;
-webkit-box-align: center;
}
body {
background: url("./images/desert.jpg") no-repeat #cc9b33 fixed;
color: white;
text-align: center;
text-wrap: avoid;
font-family:'TNG_Title',sans-serif;
font-weight: 100;
border:solid 15px black;
padding: 0;
}
/* ==========================================================================
HTML5 display definitions
LIST STYLES
========================================================================== */
header li{
display: inline;
}
nav li{
list-style-type: none;
background-color: black;
}
/* ==========================================================================
ASIDE STYLES
========================================================================== */
aside{
float: left;
width: 20%;
}
aside li{
list-style-type: none;
display: block;
padding-bottom: 10px;
}
/* ==========================================================================
HEADING STYLES
========================================================================== */
h1{
border:5px solid;
text-align: center;
margin: 10%;
}
/* ==========================================================================
IMAGE STYLES
========================================================================== */
img{
display: inline-block;
border-radius: 100%;
border:15px solid black;
padding:0;
}
/* ==========================================================================
NAV STYLES
========================================================================== */
nav a:link {color:#0b5de2;font-size: 100%; text-decoration: none}
nav a:visited {color:red;font-size: 100%; text-decoration: none}
nav a:hover {color:yellow; font-size: 100%; text-decoration: underline}
nav a:active {color:green; background-color:transparent; text-decoration: overline}
/* ==========================================================================
BUTTON STYLES
========================================================================== */
/* ==========================================================================
ROUND BUTTON
========================================================================== */
.round-button {
display:inline-block;
position: relative;
padding:0 0 0 5% ;/*spacing between buttons*/
width:40%;
}
.round-button-circle {
position: relative;
width: 100%;
height:100%;
padding-bottom: 100%;
border-radius: 50%;
border:15px solid #000000;
overflow:visible;
background: #9fafc4;
}
.round-button-circle:hover {
position: relative;
background: url("./images/moon.png") no-repeat #30588e center;
background-size: 114% 114%;/*114 suggested size of the hover moon within the border*/
transition: 1s;
cursor: pointer;
}
.round-button a{
position:relative;
float: left;
width:100%;
height:100%;
/*horizontal position of individual button pictures top 50% to align*/
/*vertical position of individual button pictures left 50% to align*/
padding: 50% 0 0 50%;
line-height:1em;
color:#e2eaf3;
font-family: "TNG_Title",sans-serif;
font-size:1.5em;
font-weight:bold;
text-decoration: line-through;
text-align:center;
}
.round-button img {
position: inherit;
width:100%;
height:100%;
opacity: 0.6;/*optimal at 0.6*/
filter: alpha(opacity=60);
-webkit-appearance:none;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%,-50%);/*size of circle (-50%, -50%) to align*/
background-size:100% 100%;
}
.round-button-section{
position: relative;
float:right;
}
.caption {
display: INLINE;
/*text-indent: 50%;*/
}
footer {
text-align: right;
padding: 2%;
/*UNUSED SECTION for footer text and links*/
}
#main {
background-color: black;
padding:0 10px 0 10px;
margin-left: 10%;
}
@font-face {
font-family: 'TNG_Title'; /*a name to be used later*/
src: url("fonts/TNG_Title.ttf"); /*URL to font*/
}