mirror of
https://github.com/Tailszefox/Pony-Fusion.git
synced 2024-11-27 07:57:58 +01:00
Time for some responsive design
This commit is contained in:
parent
721b2475e2
commit
907a94025d
3 changed files with 73 additions and 2 deletions
65
css/style-small.css
Normal file
65
css/style-small.css
Normal file
|
@ -0,0 +1,65 @@
|
|||
.fusionChoice
|
||||
{
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#from
|
||||
{
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
#to
|
||||
{
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
#buttonSwap
|
||||
{
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.buttonsRandomize
|
||||
{
|
||||
width: 90%;
|
||||
margin: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.buttonsRandomize .topAndBottom
|
||||
{
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.buttonsRandomize .leftAndRight
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#buttonRandomizeFrom
|
||||
{
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
#buttonRandomizeTo
|
||||
{
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
#buttonRandomizeTo
|
||||
{
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
#legal
|
||||
{
|
||||
position: static;
|
||||
}
|
|
@ -72,6 +72,11 @@ body
|
|||
margin-right: 90px;
|
||||
}
|
||||
|
||||
.buttonsRandomize .topAndBottom
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#buttonRandomizeTo
|
||||
{
|
||||
margin-left: 90px;
|
||||
|
@ -101,7 +106,6 @@ body
|
|||
#legal
|
||||
{
|
||||
background-color: #e5e5e5;
|
||||
height: 20px;
|
||||
text-align: left;
|
||||
margin: auto;
|
||||
margin-left: 5px;
|
||||
|
|
|
@ -45,8 +45,10 @@ else
|
|||
<head>
|
||||
<title>Pony Fusion</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="css/style.css" rel="stylesheet" media="screen">
|
||||
<link href="css/style-small.css" rel="stylesheet" media="screen and (max-width: 800px)">
|
||||
</head>
|
||||
<body>
|
||||
<div id="faqWrapper">
|
||||
|
@ -117,7 +119,7 @@ else
|
|||
?>
|
||||
</select>
|
||||
</p>
|
||||
<p><button type="submit" class="btn btn-info" id="buttonRandomizeFrom">Randomize this one</button> <button type="submit" class="btn btn-info" id="buttonRandomize">Randomize both</button> <button type="submit" class="btn btn-info" id="buttonRandomizeTo">Randomize that one</button></p>
|
||||
<p><button type="submit" class="btn btn-info buttonsRandomize" id="buttonRandomizeFrom">Randomize <span class="leftAndRight">this one</span><span class="topAndBottom">top one</span></button> <button type="submit" class="btn btn-info buttonsRandomize" id="buttonRandomize">Randomize both</button> <button type="submit" class="btn btn-info buttonsRandomize" id="buttonRandomizeTo">Randomize <span class="leftAndRight">that one</span><span class="topAndBottom">bottom one</span></button></p>
|
||||
<noscript><p><button type="submit" class="btn btn-primary">Fusion</button></p></noscript>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in a new issue