Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
68cb9683
Commit
68cb9683
authored
May 11, 2012
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed toolbar and header/layout/title fixes. logo.
parent
9fa6a64b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
39 deletions
+75
-39
logo.png
hypothesis/images/logo.png
+0
-0
site.scss
hypothesis/sass/site.scss
+75
-39
No files found.
hypothesis/images/logo.png
0 → 100644
View file @
68cb9683
2.86 KB
hypothesis/sass/site.scss
View file @
68cb9683
...
...
@@ -21,12 +21,12 @@ article {
}
body
{
background-color
:
desaturate
(
lighten
(
$
yellow
,
35%
)
,
2
5%
);
background-color
:
desaturate
(
lighten
(
$
blue
,
35%
)
,
9
5%
);
color
:
$gray
;
}
h1
,
h2
,
h3
,
h4
{
padding
:
.
25em
0
;
padding
:
.
5em
0
0
0
;
}
h1
,
form
{
...
...
@@ -43,26 +43,12 @@ label {
font-weight
:
bold
;
}
p
{
margin
:
1em
0
;
}
section
{
margin
:
5em
0
;
}
span
.error
{
@extend
.small
;
text-align
:
right
;
display
:
block
;
}
.alert-block
{
display
:
none
;
}
.alert-message
p
:first-child
{
display
:
none
;
}
.deform
button
,
...
...
@@ -70,8 +56,8 @@ span.error {
.deform
textarea
{
border
:
solid
lighten
(
$gray-light
,
20%
)
thin
;
@include
border-radius
(
.25em
);
margin
:
.
2
5em
0
;
padding
:
.5em
;
margin
:
.5em
0
;
padding
:
.
2
5em
;
}
.deform
button
{
...
...
@@ -85,7 +71,6 @@ span.error {
)
);
text-shadow
:
0
.1em
adjust-color
(
lighten
(
$gray
,
10%
)
,
$alpha
:
-.4
);
font-weight
:
bold
;
}
.deform
button
:hover
{
...
...
@@ -127,21 +112,32 @@ span.error {
}
.deform.form-horizontal
{
div
,
label
,
legend
,
fieldset
,
input
,
button
,
select
,
textarea
{
.controls
,
.control-group
,
div
,
fieldset
,
input
,
button
,
select
,
textarea
{
display
:
inline-block
;
}
.error
.controls
{
overflow
:
visible
;
}
}
.deform.form-vertical
{
legend
{
padding-bottom
:
1em
;
}
.alert-message
{
padding
:
.25em
0
;
}
.control-group
{
margin-bottom
:
1em
;
margin-bottom
:
.25em
;
}
.control-group
:first-of-type
{
padding-top
:
1em
;
}
}
.deform
div
.alert-block
,
.deform
.alert-message
p
:first-child
,
.deform
legend
,
.deform
.req
{
display
:
none
;
}
...
...
@@ -149,11 +145,11 @@ span.error {
#content
{
border
:
lighten
(
$gray-light
,
30%
)
solid
thin
;
background-color
:
lighten
(
$yellow
,
45%
);
@include
box-shadow
(
$gray-dark
0
0
1em
-
.5em
);
@include
box-shadow
(
desaturate
(
$yellow
,
75%
)
0
0
.5em
);
font-size
:
(
$font-size
+
2
)
/
$font-size
*
1em
;
}
#header
{
#
toolbar
,
#
header
{
@extend
.small
;
background-color
:
desaturate
(
lighten
(
$blue
,
50%
)
,
95%
);
border
:
lighten
(
$gray-light
,
30%
)
solid
thin
;
...
...
@@ -161,9 +157,19 @@ span.error {
$gray-light
0
0
.5em
,
desaturate
(
lighten
(
$blue
,
25%
)
,
85%
)
0
0
6em
-3em
inset
);
padding
:
1
.5em
;
}
#header
{
padding
:
1
.2em
;
position
:
relative
;
z-index
:
3
;
z-index
:
2
;
}
#toolbar
{
position
:
fixed
;
height
:
3em
;
width
:
100%
;
z-index
:
10
;
}
/*
...
...
@@ -173,12 +179,18 @@ span.error {
*/
@media
screen
and
(
min-width
:
15em
)
{
h1
,
h2
{
text-align
:
center
;
}
.title
{
text-align
:
center
;
}
#content
{
padding-top
:
2em
;
}
#auth
{
button
,
input
{
width
:
100%
;
}
}
#content
{
padding-top
:
3em
;
}
#header
{
form
{
top
:
-
3
em
;
margin-bottom
:
-
3
em
;
position
:
relative
;
top
:
-
4
.2
em
;
margin-bottom
:
-
4
.2
em
;
}
}
...
...
@@ -193,15 +205,25 @@ span.error {
margin
:
5em
1em
;
}
h1
,
h2
{
text-align
:
left
;
}
.title
{
text-align
:
left
;
img
{
margin-bottom
:
1em
;
}
}
#auth
{
.controls
,
.control-group
,
.form-actions
,
fieldset
,
button
,
input
{
width
:
auto
;
}
}
#header
{
float
:
right
;
margin-bottom
:
inherit
;
margin-right
:
1em
;
text-align
:
left
;
top
:
inherit
;
form
{
#auth
{
margin-top
:
inherit
;
button
{
width
:
auto
;
}
}
}
...
...
@@ -215,7 +237,9 @@ span.error {
@media
screen
and
(
min-width
:
37
.5em
)
{
article
{
padding
:
2em
;
}
#header
{
margin-right
:
2em
;
}
h1
,
h2
{
text-align
:
left
;
}
.title
{
text-align
:
left
;
}
#header
{
margin-right
:
4em
;
}
}
/*
...
...
@@ -225,12 +249,24 @@ span.error {
*/
@media
screen
and
(
min-width
:
57em
)
{
article
{
padding
:
4em
;
}
body
{
article
{
padding
:
2em
4em
;
}
.title
img
{
float
:
left
;
position
:
relative
;
top
:
-1
.5em
;
left
:
-2em
;
margin-right
:
-2em
;
}
#content
{
@include
width
(
12
);
margin
:
auto
;
}
#header
{
margin-right
:
4em
;
}
#header
{
margin-right
:
4em
;
}
}
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment