https://theportal.wiki/api.php?action=feedcontributions&user=Aardvark&feedformat=atom
The Portal Wiki - User contributions [en]
2024-03-29T04:56:06Z
User contributions
MediaWiki 1.39.1
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14442
Classical Mechanics
2024-02-11T14:56:08Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
[[File:Least action sketch.png|thumb|right|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
<div class="math-typesetting"><br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
<br />
<div class="math-block"><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
<br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
<br />
<div class="math-block"><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
<br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time. Integrals/primitives are often viewed as functions of the bounds of integration, however the perspective in mechanics is to make it a function of the trajectory. This means <math> S(q(-)) </math> with t suppressed to indicate it does not depend on time is a scalar function on an infinite dimensional space of paths. We want to understand its derivative, and thus when it has a minimum. There is an easy way to do this without thinking too hard about how to formulate what these spaces are, which we do in a later section to enhance this explanation. Also note that being a function of the trajectory (a functional) means that the underlying set of the trajectory in physical configuration space does not describe the motion completely, since the same path can be traced out by motion at different velocities implying the need for the parametrization by time. Parametrization-dependence is exploited further in differential geometry when defining tangent vectors on abstract manifolds.<br />
<br />
In two dimensions, rather than infinite, the minimum of a function can be described by an equivalent condition to the derivative being 0. Let <math> F:\mathbb{R}^2\rightarrow \mathbb{R} </math>. Typically we would check the condition <math> \frac{\partial F(x_0,y_0)}{\partial x}=\frac{\partial F(x_0,y_0)}{\partial y}=0 </math> at some point <math> (x_0,y_0)\in \mathbb{R}^2 </math>. Rather than differentiating, we can analyze the finite difference treating the input as a vector: <math> F(\mathbf{x}+\mathbf{h})-F(\mathbf{x}) = G(\mathbf{h})</math> and look at the linear part of <math> G </math>. If <math> F </math> was already linear, then computing its derivative comes simply: <math> F(x,y)=ax+by+c\rightarrow G(h_1, h_2)=ah_1+bh_2 </math>. Note the linear dependence on <math> \mathbf{h} </math>, which will remain even when <math> F </math> has higher order terms: <math> G=ah_1+bh_2+ch_1^2+dh_1h_2+\cdots </math>. The functions in finite dimensions we are used to have derivatives, so their derivatives can be described via the linear part of <math> G(\mathbf{h})=L(\mathbf{h})+R(\mathbf{h}), \, L(\mathbf{h}+\mathbf{h}')=L(\mathbf{h})+L(\mathbf{h}') </math>. In infinite dimensions, we may not always have explicit methods of differentiating, but we can look for the linear part of the difference at shifted inputs. We also have to be sure that the entire linear part is in <math> L </math>, so this puts a condition on <math> R </math>.<br />
<br />
[[File:Gaudi hanging strings.jpg|thumb|right|Hanging strings and weights used by Gaudi to model the shape of La Sagrada Familia. [http://dataphys.org/list/gaudis-hanging-chain-models/ source]]]<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
</div><br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14441
Classical Mechanics
2024-02-11T14:54:56Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
[[File:Least action sketch.png|thumb|right|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
{{SHORTDESC:Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space.}}<br />
<br />
<div class="math-typesetting"><br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
<br />
<div class="math-block"><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
<br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
<br />
<div class="math-block"><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
<br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time. Integrals/primitives are often viewed as functions of the bounds of integration, however the perspective in mechanics is to make it a function of the trajectory. This means <math> S(q(-)) </math> with t suppressed to indicate it does not depend on time is a scalar function on an infinite dimensional space of paths. We want to understand its derivative, and thus when it has a minimum. There is an easy way to do this without thinking too hard about how to formulate what these spaces are, which we do in a later section to enhance this explanation. Also note that being a function of the trajectory (a functional) means that the underlying set of the trajectory in physical configuration space does not describe the motion completely, since the same path can be traced out by motion at different velocities implying the need for the parametrization by time. Parametrization-dependence is exploited further in differential geometry when defining tangent vectors on abstract manifolds.<br />
<br />
In two dimensions, rather than infinite, the minimum of a function can be described by an equivalent condition to the derivative being 0. Let <math> F:\mathbb{R}^2\rightarrow \mathbb{R} </math>. Typically we would check the condition <math> \frac{\partial F(x_0,y_0)}{\partial x}=\frac{\partial F(x_0,y_0)}{\partial y}=0 </math> at some point <math> (x_0,y_0)\in \mathbb{R}^2 </math>. Rather than differentiating, we can analyze the finite difference treating the input as a vector: <math> F(\mathbf{x}+\mathbf{h})-F(\mathbf{x}) = G(\mathbf{h})</math> and look at the linear part of <math> G </math>. If <math> F </math> was already linear, then computing its derivative comes simply: <math> F(x,y)=ax+by+c\rightarrow G(h_1, h_2)=ah_1+bh_2 </math>. Note the linear dependence on <math> \mathbf{h} </math>, which will remain even when <math> F </math> has higher order terms: <math> G=ah_1+bh_2+ch_1^2+dh_1h_2+\cdots </math>. The functions in finite dimensions we are used to have derivatives, so their derivatives can be described via the linear part of <math> G(\mathbf{h})=L(\mathbf{h})+R(\mathbf{h}), \, L(\mathbf{h}+\mathbf{h}')=L(\mathbf{h})+L(\mathbf{h}') </math>. In infinite dimensions, we may not always have explicit methods of differentiating, but we can look for the linear part of the difference at shifted inputs. We also have to be sure that the entire linear part is in <math> L </math>, so this puts a condition on <math> R </math>.<br />
<br />
[[File:Gaudi hanging strings.jpg|thumb|right|Hanging strings and weights used by Gaudi to model the shape of La Sagrada Familia. [http://dataphys.org/list/gaudis-hanging-chain-models/ source]]]<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
</div><br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14440
Classical Mechanics
2024-02-11T00:07:44Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
[[File:Least action sketch.png|thumb|right|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
<div class="math-typesetting"><br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
<br />
<div class="math-block"><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
<br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
<br />
<div class="math-block"><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
<br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time. Integrals/primitives are often viewed as functions of the bounds of integration, however the perspective in mechanics is to make it a function of the trajectory. This means <math> S(q(-)) </math> with t suppressed to indicate it does not depend on time is a scalar function on an infinite dimensional space of paths. We want to understand its derivative, and thus when it has a minimum. There is an easy way to do this without thinking too hard about how to formulate what these spaces are, which we do in a later section to enhance this explanation. Also note that being a function of the trajectory (a functional) means that the underlying set of the trajectory in physical configuration space does not describe the motion completely, since the same path can be traced out by motion at different velocities implying the need for the parametrization by time. Parametrization-dependence is exploited further in differential geometry when defining tangent vectors on abstract manifolds.<br />
<br />
In two dimensions, rather than infinite, the minimum of a function can be described by an equivalent condition to the derivative being 0. Let <math> F:\mathbb{R}^2\rightarrow \mathbb{R} </math>. Typically we would check the condition <math> \frac{\partial F(x_0,y_0)}{\partial x}=\frac{\partial F(x_0,y_0)}{\partial y}=0 </math> at some point <math> (x_0,y_0)\in \mathbb{R}^2 </math>. Rather than differentiating, we can analyze the finite difference treating the input as a vector: <math> F(\mathbf{x}+\mathbf{h})-F(\mathbf{x}) = G(\mathbf{h})</math> and look at the linear part of <math> G </math>. If <math> F </math> was already linear, then computing its derivative comes simply: <math> F(x,y)=ax+by+c\rightarrow G(h_1, h_2)=ah_1+bh_2 </math>. Note the linear dependence on <math> \mathbf{h} </math>, which will remain even when <math> F </math> has higher order terms: <math> G=ah_1+bh_2+ch_1^2+dh_1h_2+\cdots </math>. The functions in finite dimensions we are used to have derivatives, so their derivatives can be described via the linear part of <math> G(\mathbf{h})=L(\mathbf{h})+R(\mathbf{h}), \, L(\mathbf{h}+\mathbf{h}')=L(\mathbf{h})+L(\mathbf{h}') </math>. In infinite dimensions, we may not always have explicit methods of differentiating, but we can look for the linear part of the difference at shifted inputs. We also have to be sure that the entire linear part is in <math> L </math>, so this puts a condition on <math> R </math>.<br />
<br />
[[File:Gaudi hanging strings.jpg|thumb|right|Hanging strings and weights used by Gaudi to model the shape of La Sagrada Familia. [http://dataphys.org/list/gaudis-hanging-chain-models/ source]]]<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
</div><br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14433
MediaWiki:Common.css
2024-02-10T17:06:11Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/* Math */<br />
<br />
mjx-container {<br />
font-size: 85%!important;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
div.math-typesetting p { <br />
margin: 0 0 2em; <br />
text-indent: 1.5em; <br />
}<br />
<br />
div.math-block mjx-container {<br />
font-size: 117.4%!important;<br />
}<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.mw-collapsed .card-book-followon-heading {<br />
margin: 0;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14429
MediaWiki:Common.css
2024-02-10T16:47:20Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/* Math */<br />
<br />
mjx-container {<br />
font-size: 85%!important;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
div.math-typesetting p { <br />
margin: 0 0 2em; <br />
text-indent: 1.5em; <br />
}<br />
<br />
div.math-block mjx-container {<br />
font-size: 100%;<br />
}<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.mw-collapsed .card-book-followon-heading {<br />
margin: 0;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Mechanics_(Book)&diff=14415
Mechanics (Book)
2024-02-07T01:52:10Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Read#Landau|Read]]}}<br />
{{NavButton|link=[[Classical Mechanics]]}}<br />
}}<br />
{{InfoboxBook<br />
|title=Mechanics<br />
|image=[[File:Landau Course in Theoretical Physics V1 Cover.jpg]]<br />
|author=[https://en.wikipedia.org/wiki/Lev_Landau Lev Landau]<br />
|language=English<br />
|series=Course of Theoretical Physics<br />
|genre=<br />
|publisher=Butterworth Heinemann<br />
|publicationdate=1976<br />
|pages=170<br />
|isbn13=978-0-7506-2896-9<br />
}}<br />
<br />
Mechanics by Landau and Lifshitz is the start of a profound transformation of the reader from basic calculus to all of mathematics and physics. The seeds of nearly all modern subjects of interest can be found here and in the following volumes starting with the principle of least action in a coordinate invariant manner. Coordinate invariance means there is no artificial distinction between linear and angular momenta, because they are simply the momenta measured along different (cartesian vs spherical) coordinates. Further, this sets the way for physical reasoning by focusing on the geometrical qualities of the trajectories of particles which is expanded upon in mathematics as variational calculus on manifolds and symplectic geometry respectively, to the beginning and end of the book. Fundamental formulae such as Newton's laws, Kepler's formulae of celestial mechanics, and the formulae for energy are derived simply from the principle of least action. Prerequisites are minimal, but strength of courage and to interpret physics simply are required.<br />
<br />
Since Landau, the most significant change to the foundation of the subject other than the rewriting of the same laws in differential geometric language is the replacement of informal infinitesimal arguments with Lie Group and Lie Algebra constructions. Simply, a Lie Group represents a parametrized family of finite-change transformations such as rotations by an angle or translations by a vector. The Lie Algebra in an instantiation of a Lie Group transformation is then a vector field representing the transformation infinitesimally. The method is powerful because one can check if a quantity is conserved by checking infinitesimally, if the derivative in the direction of the vector field is 0. This can be done for higher dimensional quantities, not just scalars, through commutators or the Lie derivative - commutators are not unique to quantum mechanics. What it does is replaces some of the proofs in Landau's text with one line of Lie-algebraic manipulations. Since then, Lie Algebras have become a foundation of geometry as exhibited in Arnol'd's geometric perspective on ordinary differential equations and on the mathematical structure of classical mechanics. Olver's books applies these methods more generally to PDE theory and variational problems, giving radical simplifications in the form of otherwise difficult to solve equations via their Lie symmetries. As a side effect of the approach aiming to give geometric constructions of dynamical and variational problems, powerful computational techniques useful for applications appear.<br />
<br />
Lie Groups and Lie Algebras are ubiquitous in all of physics, typically introduced later in analogous situations in classical field theory or quantum mechanics, but are just as simply introduced in mechanics and make the analogies between the Hamiltonian formalisms in each area manifest.<br />
<br />
The main differential geometric structure of Hamiltonian mechanics is a symplectic 2-form, an antisymmetric function linear in each of two variable tangent vectors. A manifold/coordinate system given a symplectic form is known as a symplectic manifold, and the form is used to exhibit the duality between the position and momentum coordinates in phase space. Constraining one's geometric structure constrains the set of possible transformations to those preserving the structure, canonical or symplectic transformations, and thus simplifying computations giving stronger geometric results. Rather than summarizing the results, we indicate a few of these structures derived from the symplectic form: moment(um) mappings associated to finite dimensional Lie subgroups of the symplectic group, Lagrangian submanifolds of a symplectic manifold, periodic orbits of a given system. All of these help to determine the topology of a symplectic manifold, and can be honest representations of the manifold itself, as well has having some influence in the process of quantization. Quantization based on symplectic manifolds appears in [[Quantum_Mechanics_(Book)#Geometric_Quantization|geometric quantization]]. The momentum map and basic phase space quantization is in [[Quantum_Mechanics_(Book)#Quantum_Theory,_Groups_and_Representations|Woit's book]].<br />
<br />
The next three books introduce symplectic geometry and cover different aspects and applications. First, Vladimir Arnol'd initiated the field of symplectic topology - utilizing symplectic structure as an invariant of the space. In his book he elaborates on the foundations of the subject in modern geometric language. In contrast, Sternberg and Guillemin's book discusses the history of how the concept of symplectic geometry emerged and how it continues to evolve. Consequently, it doesn't get as far into geometry but reaches various parts of physics such as optics, a geometric definition of quantum mechanical particles, Yang-Mills Fields, and the moment map. We single the moment map out here, as its role in quantum mechanics is to show how orbits in a quantum mechanical phase space map to points in the convex space of underlying probability distributions. Sternberg and Atiyah independently showed this convexity with a general setting in a landmark result. Finally, Hermann's book develops applications in control theory, electronic circuits, and develops further geometry for his purposes. His books are unique and self-published, so rather than inserting them all here [[Robert_Hermann#Interdisciplinary_Mathematics_Series|we compiled a list]]. He engaged in engineering topics such as in the conferences at NASA Ames, and this resulted in a profound new geometric approach to engineering "applied pure mathematics." Noteably, among topics such as control theory, algebraic geometry, computing, soliton waves, he wrote about gauge theory and is the unsung source of the realization that gauge theory is the language of particle physics and the standard model that is now associated with physicists Weinberg, Salam, Wilson, 't Hooft, and mathematicians Atiyah and Bott.<br />
<br />
Often when new techniques or structures are found in higher level formalisms such as quantum field theory, they are found to have simpler instantiations that were implicit in existing classical mechanics techniques. From the symplectic point of view, we use vector fields with underlying scalar functions called Hamiltonians to establish an ODE for time evolution. Dynamical systems theory takes this, and generalizes to 'a qualitative theory of ODEs' where the phase space need not be position and momentum but any dimension space where the evolution happens. Either with Hamiltonians or other ODEs of dynamical systems, we can take a continuous family of different systems depending on a parameter (introduced in Arnol'd's Dynamical Systems IV) and see that there are discontinuous changes or 'bifurcations' in the orbit structure of the system as the parameter varies. In QFT, symmetry breaking/the Anderson-Higgs mechanism and goldstone bosons/superconductivity also depend on a parameter at which there is a discontinuous phase change and an appearance of new particles. Bifurcation theory can be seen as the distillation of this from infinite dimensional QFT into finite dimensions, and Kuznetsov's book covers the basic theoretical and numerical techniques. The dynamical systems series includes bifurcation theory in volume 5, but we felt that since its role is as an encyclopedia and Kuznetsov's book is more original to choose to include his. This and the dynamical systems series are the highest quality works in the subject. Most of the rest of the works of the subject are not worthwhile because they are no use to important mathematical or physical problems. The subject's name betrays its obscurity, because any area of physics with a notion of time such as fluid mechanics is also dynamics as shown by Arnol'd yet not studied by most dynamical systems scholars.<br />
<br />
The remainder of the applications will be devoted to more advanced symplectic topology.<br />
<br />
=== Applications ===<br />
<div class="flex-container" style="clear: both;"><br />
{{BookListing<br />
| cover = Arnold Ordinary Differential Equations Cover.jpg<br />
| link = Ordinary Differential Equations (Book)<br />
| title = === Ordinary Differential Equations ===<br />
| desc = Ordinary differential equations by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Olver Applications of Lie Groups to Differential Equations Cover.jpg<br />
| link = Applications of Lie Groups to Differential Equations (Book)<br />
| title = === Applications of Lie Groups to Differential Equations ===<br />
| desc = Applications of Lie Groups to Differential Equations by Peter Olver.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Mathematical Methods of Classical Mechanics Cover.jpg<br />
| link = Mathematical Methods of Classical Mechanics (Book)<br />
| title = === Mathematical Methods of Classical Mechanics ===<br />
| desc = Mathematical Methods of Classical Mechanics by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Dynamical Systems IV cover.jpg<br />
| link = Dynamical Systems IV (Book)<br />
| title = === Dynamical Systems IV ===<br />
| desc = Dynamical Systems IV by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Sternberg Symplectic Techniques in Physics cover.jpg<br />
| link = Symplectic Techniques in Physics (Book)<br />
| title = === Symplectic techniques in Physics ===<br />
| desc = Symplectic techniques in Physics by Shlomo Sternberg.<br />
}}<br />
{{BookListing<br />
| cover = Hermann Geometric Structure of Systems-Control Theory and Physics cover.jpg<br />
| link = Geometric Structure of Systems-Control Theory and Physics (Book)<br />
| title = === Geometric Structure of Systems-Control Theory and Physics ===<br />
| desc = Geometric Structure of Systems-Control Theory and Physics by Robert Hermann.<br />
}}<br />
{{BookListing<br />
| cover = Kuznetsov bifurcation cover.jpg<br />
| link = Elements of Applied Bifurcation Theory (Book)<br />
| title = === Elements of Applied Bifurcation Theory ===<br />
| desc = Elements of Applied Bifurcation Theory by Yuri Kuznetsov.<br />
}}<br />
</div><br />
<br />
[[Category:Mathematics]]<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Template:NavContainerFlex&diff=14414
Template:NavContainerFlex
2024-02-07T01:51:58Z
<p>Aardvark: </p>
<hr />
<div><div class="nav-container-flex">{{{content}}}</div></div>
Aardvark
https://theportal.wiki/index.php?title=Mechanics_(Book)&diff=14413
Mechanics (Book)
2024-02-07T01:50:54Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Read#Landau|Read]]}}<br />
{{NavButton|link=[[Classical Mechanics]]}}<br />
}}<br />
<br />
{{InfoboxBook<br />
|title=Mechanics<br />
|image=[[File:Landau Course in Theoretical Physics V1 Cover.jpg]]<br />
|author=[https://en.wikipedia.org/wiki/Lev_Landau Lev Landau]<br />
|language=English<br />
|series=Course of Theoretical Physics<br />
|genre=<br />
|publisher=Butterworth Heinemann<br />
|publicationdate=1976<br />
|pages=170<br />
|isbn13=978-0-7506-2896-9<br />
}}<br />
<br />
Mechanics by Landau and Lifshitz is the start of a profound transformation of the reader from basic calculus to all of mathematics and physics. The seeds of nearly all modern subjects of interest can be found here and in the following volumes starting with the principle of least action in a coordinate invariant manner. Coordinate invariance means there is no artificial distinction between linear and angular momenta, because they are simply the momenta measured along different (cartesian vs spherical) coordinates. Further, this sets the way for physical reasoning by focusing on the geometrical qualities of the trajectories of particles which is expanded upon in mathematics as variational calculus on manifolds and symplectic geometry respectively, to the beginning and end of the book. Fundamental formulae such as Newton's laws, Kepler's formulae of celestial mechanics, and the formulae for energy are derived simply from the principle of least action. Prerequisites are minimal, but strength of courage and to interpret physics simply are required.<br />
<br />
Since Landau, the most significant change to the foundation of the subject other than the rewriting of the same laws in differential geometric language is the replacement of informal infinitesimal arguments with Lie Group and Lie Algebra constructions. Simply, a Lie Group represents a parametrized family of finite-change transformations such as rotations by an angle or translations by a vector. The Lie Algebra in an instantiation of a Lie Group transformation is then a vector field representing the transformation infinitesimally. The method is powerful because one can check if a quantity is conserved by checking infinitesimally, if the derivative in the direction of the vector field is 0. This can be done for higher dimensional quantities, not just scalars, through commutators or the Lie derivative - commutators are not unique to quantum mechanics. What it does is replaces some of the proofs in Landau's text with one line of Lie-algebraic manipulations. Since then, Lie Algebras have become a foundation of geometry as exhibited in Arnol'd's geometric perspective on ordinary differential equations and on the mathematical structure of classical mechanics. Olver's books applies these methods more generally to PDE theory and variational problems, giving radical simplifications in the form of otherwise difficult to solve equations via their Lie symmetries. As a side effect of the approach aiming to give geometric constructions of dynamical and variational problems, powerful computational techniques useful for applications appear.<br />
<br />
Lie Groups and Lie Algebras are ubiquitous in all of physics, typically introduced later in analogous situations in classical field theory or quantum mechanics, but are just as simply introduced in mechanics and make the analogies between the Hamiltonian formalisms in each area manifest.<br />
<br />
The main differential geometric structure of Hamiltonian mechanics is a symplectic 2-form, an antisymmetric function linear in each of two variable tangent vectors. A manifold/coordinate system given a symplectic form is known as a symplectic manifold, and the form is used to exhibit the duality between the position and momentum coordinates in phase space. Constraining one's geometric structure constrains the set of possible transformations to those preserving the structure, canonical or symplectic transformations, and thus simplifying computations giving stronger geometric results. Rather than summarizing the results, we indicate a few of these structures derived from the symplectic form: moment(um) mappings associated to finite dimensional Lie subgroups of the symplectic group, Lagrangian submanifolds of a symplectic manifold, periodic orbits of a given system. All of these help to determine the topology of a symplectic manifold, and can be honest representations of the manifold itself, as well has having some influence in the process of quantization. Quantization based on symplectic manifolds appears in [[Quantum_Mechanics_(Book)#Geometric_Quantization|geometric quantization]]. The momentum map and basic phase space quantization is in [[Quantum_Mechanics_(Book)#Quantum_Theory,_Groups_and_Representations|Woit's book]].<br />
<br />
The next three books introduce symplectic geometry and cover different aspects and applications. First, Vladimir Arnol'd initiated the field of symplectic topology - utilizing symplectic structure as an invariant of the space. In his book he elaborates on the foundations of the subject in modern geometric language. In contrast, Sternberg and Guillemin's book discusses the history of how the concept of symplectic geometry emerged and how it continues to evolve. Consequently, it doesn't get as far into geometry but reaches various parts of physics such as optics, a geometric definition of quantum mechanical particles, Yang-Mills Fields, and the moment map. We single the moment map out here, as its role in quantum mechanics is to show how orbits in a quantum mechanical phase space map to points in the convex space of underlying probability distributions. Sternberg and Atiyah independently showed this convexity with a general setting in a landmark result. Finally, Hermann's book develops applications in control theory, electronic circuits, and develops further geometry for his purposes. His books are unique and self-published, so rather than inserting them all here [[Robert_Hermann#Interdisciplinary_Mathematics_Series|we compiled a list]]. He engaged in engineering topics such as in the conferences at NASA Ames, and this resulted in a profound new geometric approach to engineering "applied pure mathematics." Noteably, among topics such as control theory, algebraic geometry, computing, soliton waves, he wrote about gauge theory and is the unsung source of the realization that gauge theory is the language of particle physics and the standard model that is now associated with physicists Weinberg, Salam, Wilson, 't Hooft, and mathematicians Atiyah and Bott.<br />
<br />
Often when new techniques or structures are found in higher level formalisms such as quantum field theory, they are found to have simpler instantiations that were implicit in existing classical mechanics techniques. From the symplectic point of view, we use vector fields with underlying scalar functions called Hamiltonians to establish an ODE for time evolution. Dynamical systems theory takes this, and generalizes to 'a qualitative theory of ODEs' where the phase space need not be position and momentum but any dimension space where the evolution happens. Either with Hamiltonians or other ODEs of dynamical systems, we can take a continuous family of different systems depending on a parameter (introduced in Arnol'd's Dynamical Systems IV) and see that there are discontinuous changes or 'bifurcations' in the orbit structure of the system as the parameter varies. In QFT, symmetry breaking/the Anderson-Higgs mechanism and goldstone bosons/superconductivity also depend on a parameter at which there is a discontinuous phase change and an appearance of new particles. Bifurcation theory can be seen as the distillation of this from infinite dimensional QFT into finite dimensions, and Kuznetsov's book covers the basic theoretical and numerical techniques. The dynamical systems series includes bifurcation theory in volume 5, but we felt that since its role is as an encyclopedia and Kuznetsov's book is more original to choose to include his. This and the dynamical systems series are the highest quality works in the subject. Most of the rest of the works of the subject are not worthwhile because they are no use to important mathematical or physical problems. The subject's name betrays its obscurity, because any area of physics with a notion of time such as fluid mechanics is also dynamics as shown by Arnol'd yet not studied by most dynamical systems scholars.<br />
<br />
The remainder of the applications will be devoted to more advanced symplectic topology.<br />
<br />
=== Applications ===<br />
<div class="flex-container" style="clear: both;"><br />
{{BookListing<br />
| cover = Arnold Ordinary Differential Equations Cover.jpg<br />
| link = Ordinary Differential Equations (Book)<br />
| title = === Ordinary Differential Equations ===<br />
| desc = Ordinary differential equations by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Olver Applications of Lie Groups to Differential Equations Cover.jpg<br />
| link = Applications of Lie Groups to Differential Equations (Book)<br />
| title = === Applications of Lie Groups to Differential Equations ===<br />
| desc = Applications of Lie Groups to Differential Equations by Peter Olver.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Mathematical Methods of Classical Mechanics Cover.jpg<br />
| link = Mathematical Methods of Classical Mechanics (Book)<br />
| title = === Mathematical Methods of Classical Mechanics ===<br />
| desc = Mathematical Methods of Classical Mechanics by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Dynamical Systems IV cover.jpg<br />
| link = Dynamical Systems IV (Book)<br />
| title = === Dynamical Systems IV ===<br />
| desc = Dynamical Systems IV by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Sternberg Symplectic Techniques in Physics cover.jpg<br />
| link = Symplectic Techniques in Physics (Book)<br />
| title = === Symplectic techniques in Physics ===<br />
| desc = Symplectic techniques in Physics by Shlomo Sternberg.<br />
}}<br />
{{BookListing<br />
| cover = Hermann Geometric Structure of Systems-Control Theory and Physics cover.jpg<br />
| link = Geometric Structure of Systems-Control Theory and Physics (Book)<br />
| title = === Geometric Structure of Systems-Control Theory and Physics ===<br />
| desc = Geometric Structure of Systems-Control Theory and Physics by Robert Hermann.<br />
}}<br />
{{BookListing<br />
| cover = Kuznetsov bifurcation cover.jpg<br />
| link = Elements of Applied Bifurcation Theory (Book)<br />
| title = === Elements of Applied Bifurcation Theory ===<br />
| desc = Elements of Applied Bifurcation Theory by Yuri Kuznetsov.<br />
}}<br />
</div><br />
<br />
[[Category:Mathematics]]<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Mechanics_(Book)&diff=14412
Mechanics (Book)
2024-02-07T01:44:24Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Read#Landau|Read]]}}<br />
{{NavButton|link=[[Classical Mechanics]]}}<br />
}}<br />
{{InfoboxBook<br />
|title=Mechanics<br />
|image=[[File:Landau Course in Theoretical Physics V1 Cover.jpg]]<br />
|author=[https://en.wikipedia.org/wiki/Lev_Landau Lev Landau]<br />
|language=English<br />
|series=Course of Theoretical Physics<br />
|genre=<br />
|publisher=Butterworth Heinemann<br />
|publicationdate=1976<br />
|pages=170<br />
|isbn13=978-0-7506-2896-9<br />
}}<br />
<br />
Mechanics by Landau and Lifshitz is the start of a profound transformation of the reader from basic calculus to all of mathematics and physics. The seeds of nearly all modern subjects of interest can be found here and in the following volumes starting with the principle of least action in a coordinate invariant manner. Coordinate invariance means there is no artificial distinction between linear and angular momenta, because they are simply the momenta measured along different (cartesian vs spherical) coordinates. Further, this sets the way for physical reasoning by focusing on the geometrical qualities of the trajectories of particles which is expanded upon in mathematics as variational calculus on manifolds and symplectic geometry respectively, to the beginning and end of the book. Fundamental formulae such as Newton's laws, Kepler's formulae of celestial mechanics, and the formulae for energy are derived simply from the principle of least action. Prerequisites are minimal, but strength of courage and to interpret physics simply are required.<br />
<br />
Since Landau, the most significant change to the foundation of the subject other than the rewriting of the same laws in differential geometric language is the replacement of informal infinitesimal arguments with Lie Group and Lie Algebra constructions. Simply, a Lie Group represents a parametrized family of finite-change transformations such as rotations by an angle or translations by a vector. The Lie Algebra in an instantiation of a Lie Group transformation is then a vector field representing the transformation infinitesimally. The method is powerful because one can check if a quantity is conserved by checking infinitesimally, if the derivative in the direction of the vector field is 0. This can be done for higher dimensional quantities, not just scalars, through commutators or the Lie derivative - commutators are not unique to quantum mechanics. What it does is replaces some of the proofs in Landau's text with one line of Lie-algebraic manipulations. Since then, Lie Algebras have become a foundation of geometry as exhibited in Arnol'd's geometric perspective on ordinary differential equations and on the mathematical structure of classical mechanics. Olver's books applies these methods more generally to PDE theory and variational problems, giving radical simplifications in the form of otherwise difficult to solve equations via their Lie symmetries. As a side effect of the approach aiming to give geometric constructions of dynamical and variational problems, powerful computational techniques useful for applications appear.<br />
<br />
Lie Groups and Lie Algebras are ubiquitous in all of physics, typically introduced later in analogous situations in classical field theory or quantum mechanics, but are just as simply introduced in mechanics and make the analogies between the Hamiltonian formalisms in each area manifest.<br />
<br />
The main differential geometric structure of Hamiltonian mechanics is a symplectic 2-form, an antisymmetric function linear in each of two variable tangent vectors. A manifold/coordinate system given a symplectic form is known as a symplectic manifold, and the form is used to exhibit the duality between the position and momentum coordinates in phase space. Constraining one's geometric structure constrains the set of possible transformations to those preserving the structure, canonical or symplectic transformations, and thus simplifying computations giving stronger geometric results. Rather than summarizing the results, we indicate a few of these structures derived from the symplectic form: moment(um) mappings associated to finite dimensional Lie subgroups of the symplectic group, Lagrangian submanifolds of a symplectic manifold, periodic orbits of a given system. All of these help to determine the topology of a symplectic manifold, and can be honest representations of the manifold itself, as well has having some influence in the process of quantization. Quantization based on symplectic manifolds appears in [[Quantum_Mechanics_(Book)#Geometric_Quantization|geometric quantization]]. The momentum map and basic phase space quantization is in [[Quantum_Mechanics_(Book)#Quantum_Theory,_Groups_and_Representations|Woit's book]].<br />
<br />
The next three books introduce symplectic geometry and cover different aspects and applications. First, Vladimir Arnol'd initiated the field of symplectic topology - utilizing symplectic structure as an invariant of the space. In his book he elaborates on the foundations of the subject in modern geometric language. In contrast, Sternberg and Guillemin's book discusses the history of how the concept of symplectic geometry emerged and how it continues to evolve. Consequently, it doesn't get as far into geometry but reaches various parts of physics such as optics, a geometric definition of quantum mechanical particles, Yang-Mills Fields, and the moment map. We single the moment map out here, as its role in quantum mechanics is to show how orbits in a quantum mechanical phase space map to points in the convex space of underlying probability distributions. Sternberg and Atiyah independently showed this convexity with a general setting in a landmark result. Finally, Hermann's book develops applications in control theory, electronic circuits, and develops further geometry for his purposes. His books are unique and self-published, so rather than inserting them all here [[Robert_Hermann#Interdisciplinary_Mathematics_Series|we compiled a list]]. He engaged in engineering topics such as in the conferences at NASA Ames, and this resulted in a profound new geometric approach to engineering "applied pure mathematics." Noteably, among topics such as control theory, algebraic geometry, computing, soliton waves, he wrote about gauge theory and is the unsung source of the realization that gauge theory is the language of particle physics and the standard model that is now associated with physicists Weinberg, Salam, Wilson, 't Hooft, and mathematicians Atiyah and Bott.<br />
<br />
Often when new techniques or structures are found in higher level formalisms such as quantum field theory, they are found to have simpler instantiations that were implicit in existing classical mechanics techniques. From the symplectic point of view, we use vector fields with underlying scalar functions called Hamiltonians to establish an ODE for time evolution. Dynamical systems theory takes this, and generalizes to 'a qualitative theory of ODEs' where the phase space need not be position and momentum but any dimension space where the evolution happens. Either with Hamiltonians or other ODEs of dynamical systems, we can take a continuous family of different systems depending on a parameter (introduced in Arnol'd's Dynamical Systems IV) and see that there are discontinuous changes or 'bifurcations' in the orbit structure of the system as the parameter varies. In QFT, symmetry breaking/the Anderson-Higgs mechanism and goldstone bosons/superconductivity also depend on a parameter at which there is a discontinuous phase change and an appearance of new particles. Bifurcation theory can be seen as the distillation of this from infinite dimensional QFT into finite dimensions, and Kuznetsov's book covers the basic theoretical and numerical techniques. The dynamical systems series includes bifurcation theory in volume 5, but we felt that since its role is as an encyclopedia and Kuznetsov's book is more original to choose to include his. This and the dynamical systems series are the highest quality works in the subject. Most of the rest of the works of the subject are not worthwhile because they are no use to important mathematical or physical problems. The subject's name betrays its obscurity, because any area of physics with a notion of time such as fluid mechanics is also dynamics as shown by Arnol'd yet not studied by most dynamical systems scholars.<br />
<br />
The remainder of the applications will be devoted to more advanced symplectic topology.<br />
<br />
=== Applications ===<br />
<div class="flex-container" style="clear: both;"><br />
{{BookListing<br />
| cover = Arnold Ordinary Differential Equations Cover.jpg<br />
| link = Ordinary Differential Equations (Book)<br />
| title = === Ordinary Differential Equations ===<br />
| desc = Ordinary differential equations by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Olver Applications of Lie Groups to Differential Equations Cover.jpg<br />
| link = Applications of Lie Groups to Differential Equations (Book)<br />
| title = === Applications of Lie Groups to Differential Equations ===<br />
| desc = Applications of Lie Groups to Differential Equations by Peter Olver.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Mathematical Methods of Classical Mechanics Cover.jpg<br />
| link = Mathematical Methods of Classical Mechanics (Book)<br />
| title = === Mathematical Methods of Classical Mechanics ===<br />
| desc = Mathematical Methods of Classical Mechanics by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Dynamical Systems IV cover.jpg<br />
| link = Dynamical Systems IV (Book)<br />
| title = === Dynamical Systems IV ===<br />
| desc = Dynamical Systems IV by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Sternberg Symplectic Techniques in Physics cover.jpg<br />
| link = Symplectic Techniques in Physics (Book)<br />
| title = === Symplectic techniques in Physics ===<br />
| desc = Symplectic techniques in Physics by Shlomo Sternberg.<br />
}}<br />
{{BookListing<br />
| cover = Hermann Geometric Structure of Systems-Control Theory and Physics cover.jpg<br />
| link = Geometric Structure of Systems-Control Theory and Physics (Book)<br />
| title = === Geometric Structure of Systems-Control Theory and Physics ===<br />
| desc = Geometric Structure of Systems-Control Theory and Physics by Robert Hermann.<br />
}}<br />
{{BookListing<br />
| cover = Kuznetsov bifurcation cover.jpg<br />
| link = Elements of Applied Bifurcation Theory (Book)<br />
| title = === Elements of Applied Bifurcation Theory ===<br />
| desc = Elements of Applied Bifurcation Theory by Yuri Kuznetsov.<br />
}}<br />
</div><br />
<br />
[[Category:Mathematics]]<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Mechanics_(Book)&diff=14411
Mechanics (Book)
2024-02-07T01:43:53Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Read#Landau|Read]]}}<br />
{{NavButton|link=[[Classical Mechanics]]}}<br />
}}<br />
<br />
{{InfoboxBook<br />
|title=Mechanics<br />
|image=[[File:Landau Course in Theoretical Physics V1 Cover.jpg]]<br />
|author=[https://en.wikipedia.org/wiki/Lev_Landau Lev Landau]<br />
|language=English<br />
|series=Course of Theoretical Physics<br />
|genre=<br />
|publisher=Butterworth Heinemann<br />
|publicationdate=1976<br />
|pages=170<br />
|isbn13=978-0-7506-2896-9<br />
}}<br />
<br />
Mechanics by Landau and Lifshitz is the start of a profound transformation of the reader from basic calculus to all of mathematics and physics. The seeds of nearly all modern subjects of interest can be found here and in the following volumes starting with the principle of least action in a coordinate invariant manner. Coordinate invariance means there is no artificial distinction between linear and angular momenta, because they are simply the momenta measured along different (cartesian vs spherical) coordinates. Further, this sets the way for physical reasoning by focusing on the geometrical qualities of the trajectories of particles which is expanded upon in mathematics as variational calculus on manifolds and symplectic geometry respectively, to the beginning and end of the book. Fundamental formulae such as Newton's laws, Kepler's formulae of celestial mechanics, and the formulae for energy are derived simply from the principle of least action. Prerequisites are minimal, but strength of courage and to interpret physics simply are required.<br />
<br />
Since Landau, the most significant change to the foundation of the subject other than the rewriting of the same laws in differential geometric language is the replacement of informal infinitesimal arguments with Lie Group and Lie Algebra constructions. Simply, a Lie Group represents a parametrized family of finite-change transformations such as rotations by an angle or translations by a vector. The Lie Algebra in an instantiation of a Lie Group transformation is then a vector field representing the transformation infinitesimally. The method is powerful because one can check if a quantity is conserved by checking infinitesimally, if the derivative in the direction of the vector field is 0. This can be done for higher dimensional quantities, not just scalars, through commutators or the Lie derivative - commutators are not unique to quantum mechanics. What it does is replaces some of the proofs in Landau's text with one line of Lie-algebraic manipulations. Since then, Lie Algebras have become a foundation of geometry as exhibited in Arnol'd's geometric perspective on ordinary differential equations and on the mathematical structure of classical mechanics. Olver's books applies these methods more generally to PDE theory and variational problems, giving radical simplifications in the form of otherwise difficult to solve equations via their Lie symmetries. As a side effect of the approach aiming to give geometric constructions of dynamical and variational problems, powerful computational techniques useful for applications appear.<br />
<br />
Lie Groups and Lie Algebras are ubiquitous in all of physics, typically introduced later in analogous situations in classical field theory or quantum mechanics, but are just as simply introduced in mechanics and make the analogies between the Hamiltonian formalisms in each area manifest.<br />
<br />
The main differential geometric structure of Hamiltonian mechanics is a symplectic 2-form, an antisymmetric function linear in each of two variable tangent vectors. A manifold/coordinate system given a symplectic form is known as a symplectic manifold, and the form is used to exhibit the duality between the position and momentum coordinates in phase space. Constraining one's geometric structure constrains the set of possible transformations to those preserving the structure, canonical or symplectic transformations, and thus simplifying computations giving stronger geometric results. Rather than summarizing the results, we indicate a few of these structures derived from the symplectic form: moment(um) mappings associated to finite dimensional Lie subgroups of the symplectic group, Lagrangian submanifolds of a symplectic manifold, periodic orbits of a given system. All of these help to determine the topology of a symplectic manifold, and can be honest representations of the manifold itself, as well has having some influence in the process of quantization. Quantization based on symplectic manifolds appears in [[Quantum_Mechanics_(Book)#Geometric_Quantization|geometric quantization]]. The momentum map and basic phase space quantization is in [[Quantum_Mechanics_(Book)#Quantum_Theory,_Groups_and_Representations|Woit's book]].<br />
<br />
The next three books introduce symplectic geometry and cover different aspects and applications. First, Vladimir Arnol'd initiated the field of symplectic topology - utilizing symplectic structure as an invariant of the space. In his book he elaborates on the foundations of the subject in modern geometric language. In contrast, Sternberg and Guillemin's book discusses the history of how the concept of symplectic geometry emerged and how it continues to evolve. Consequently, it doesn't get as far into geometry but reaches various parts of physics such as optics, a geometric definition of quantum mechanical particles, Yang-Mills Fields, and the moment map. We single the moment map out here, as its role in quantum mechanics is to show how orbits in a quantum mechanical phase space map to points in the convex space of underlying probability distributions. Sternberg and Atiyah independently showed this convexity with a general setting in a landmark result. Finally, Hermann's book develops applications in control theory, electronic circuits, and develops further geometry for his purposes. His books are unique and self-published, so rather than inserting them all here [[Robert_Hermann#Interdisciplinary_Mathematics_Series|we compiled a list]]. He engaged in engineering topics such as in the conferences at NASA Ames, and this resulted in a profound new geometric approach to engineering "applied pure mathematics." Noteably, among topics such as control theory, algebraic geometry, computing, soliton waves, he wrote about gauge theory and is the unsung source of the realization that gauge theory is the language of particle physics and the standard model that is now associated with physicists Weinberg, Salam, Wilson, 't Hooft, and mathematicians Atiyah and Bott.<br />
<br />
Often when new techniques or structures are found in higher level formalisms such as quantum field theory, they are found to have simpler instantiations that were implicit in existing classical mechanics techniques. From the symplectic point of view, we use vector fields with underlying scalar functions called Hamiltonians to establish an ODE for time evolution. Dynamical systems theory takes this, and generalizes to 'a qualitative theory of ODEs' where the phase space need not be position and momentum but any dimension space where the evolution happens. Either with Hamiltonians or other ODEs of dynamical systems, we can take a continuous family of different systems depending on a parameter (introduced in Arnol'd's Dynamical Systems IV) and see that there are discontinuous changes or 'bifurcations' in the orbit structure of the system as the parameter varies. In QFT, symmetry breaking/the Anderson-Higgs mechanism and goldstone bosons/superconductivity also depend on a parameter at which there is a discontinuous phase change and an appearance of new particles. Bifurcation theory can be seen as the distillation of this from infinite dimensional QFT into finite dimensions, and Kuznetsov's book covers the basic theoretical and numerical techniques. The dynamical systems series includes bifurcation theory in volume 5, but we felt that since its role is as an encyclopedia and Kuznetsov's book is more original to choose to include his. This and the dynamical systems series are the highest quality works in the subject. Most of the rest of the works of the subject are not worthwhile because they are no use to important mathematical or physical problems. The subject's name betrays its obscurity, because any area of physics with a notion of time such as fluid mechanics is also dynamics as shown by Arnol'd yet not studied by most dynamical systems scholars.<br />
<br />
The remainder of the applications will be devoted to more advanced symplectic topology.<br />
<br />
=== Applications ===<br />
<div class="flex-container" style="clear: both;"><br />
{{BookListing<br />
| cover = Arnold Ordinary Differential Equations Cover.jpg<br />
| link = Ordinary Differential Equations (Book)<br />
| title = === Ordinary Differential Equations ===<br />
| desc = Ordinary differential equations by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Olver Applications of Lie Groups to Differential Equations Cover.jpg<br />
| link = Applications of Lie Groups to Differential Equations (Book)<br />
| title = === Applications of Lie Groups to Differential Equations ===<br />
| desc = Applications of Lie Groups to Differential Equations by Peter Olver.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Mathematical Methods of Classical Mechanics Cover.jpg<br />
| link = Mathematical Methods of Classical Mechanics (Book)<br />
| title = === Mathematical Methods of Classical Mechanics ===<br />
| desc = Mathematical Methods of Classical Mechanics by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Arnold Dynamical Systems IV cover.jpg<br />
| link = Dynamical Systems IV (Book)<br />
| title = === Dynamical Systems IV ===<br />
| desc = Dynamical Systems IV by Vladimir Arnold.<br />
}}<br />
{{BookListing<br />
| cover = Sternberg Symplectic Techniques in Physics cover.jpg<br />
| link = Symplectic Techniques in Physics (Book)<br />
| title = === Symplectic techniques in Physics ===<br />
| desc = Symplectic techniques in Physics by Shlomo Sternberg.<br />
}}<br />
{{BookListing<br />
| cover = Hermann Geometric Structure of Systems-Control Theory and Physics cover.jpg<br />
| link = Geometric Structure of Systems-Control Theory and Physics (Book)<br />
| title = === Geometric Structure of Systems-Control Theory and Physics ===<br />
| desc = Geometric Structure of Systems-Control Theory and Physics by Robert Hermann.<br />
}}<br />
{{BookListing<br />
| cover = Kuznetsov bifurcation cover.jpg<br />
| link = Elements of Applied Bifurcation Theory (Book)<br />
| title = === Elements of Applied Bifurcation Theory ===<br />
| desc = Elements of Applied Bifurcation Theory by Yuri Kuznetsov.<br />
}}<br />
</div><br />
<br />
[[Category:Mathematics]]<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14410
Classical Mechanics
2024-02-07T01:43:26Z
<p>Aardvark: </p>
<hr />
<div>{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
[[File:Least action sketch.png|thumb|right|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
<br />
<div><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
<br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
<br />
<div><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
<br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time.<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14409
Classical Mechanics
2024-02-07T01:41:52Z
<p>Aardvark: </p>
<hr />
<div>[[File:Least action sketch.png|thumb|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
<br />
<div><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
<br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
<br />
<div><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
<br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time.<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=Classical_Mechanics&diff=14408
Classical Mechanics
2024-02-07T01:10:48Z
<p>Aardvark: </p>
<hr />
<div>Test words<br />
<br />
[[File:Least action sketch.png|thumb|Sketch of a trajectory in position-velocity configuration space and its partial derivatives]]<br />
<br />
{{NavContainerFlex<br />
|content=<br />
{{NavButton|link=[[Mechanics_(Book)|Mechanics (Book)]]}}<br />
}}<br />
<br />
Classical Mechanics can be formulated directly and generally by applying calculus to trajectories/curves in space. For concreteness and an alternate presentation, we describe the formulation backwards from the first few pages of Landau's mechanics. Pictured on the side is a trajectory in one dimension <math> q(t) </math>. Since it is differentiable, we can plot the position and its derivative velocity <math> \dot{q}(t) </math> as a vector-valued function of time: <math> t_0 \rightarrow (q(t), \dot{q}(t)) </math> or points of the graph: <math> (q(t_0), \dot{q}(t_0), t_0) </math>. Now regarding the variables <math> q, \dot{q}, t </math> as mutually independent, there is a function called the Lagrangian <math> L(q, \dot{q}, t) </math> whereby the trajectory curve can be recovered, or the Lagrangian modified to give any other desired trajectory. In its most basic examples, it is a polynomial and constant in time:<br />
</div><br />
<math> L = m*\frac{\dot{q}^2}{2}-k*\frac{q^2}{2} </math><br />
</div><br />
Where m and k are constants. The equation determining the trajectory from any Lagrangian L is called the Euler Lagrange (EL) equation, position and velocity are now regarded as functions of time:<br />
</div><br />
<math> \frac{d}{dt} \frac{\partial L(q(t), \dot{q}(t), t)}{\partial \dot{q}}=\frac{\partial L(q(t), \dot{q}(t), t)}{\partial q},\quad m * \frac{d^2 q(t)}{dt^2}=-k*q(t)</math><br />
</div><br />
Computed in the particular example of a Lagrangian given previously. Regarding the position and velocity variables as functions of time again means that given a particular formula for a Lagrangian, the resulting Euler-Lagrange equation has the form of an ordinary differential equation whose solution is just the function <math> q(t) </math>. The partial derivatives of L with respect to position and velocity at each time indicate vectors in the constant-time planes as in the picture, that point in the direction of increase of L. Thus the Euler-Lagrange equation for motion in one dimension can be interpreted in the 3d geometric picture. The change in the velocity component of this vector as one moves up in time along the trajectory (e.g. it decreases) is the instantaneous value of the position component. This time derivative is in the case of when L is time independent, totally determined by the direction of the trajectory in the 3d graphed trajectory space at that time. Given an initial position and velocity at some time, this fixes the rest of the curve for future times, as it is constrained to follow the direction given by the EL equation at each time. In particular, this gives the endpoint at some chosen later time.<br />
<br />
For the Lagrangian given, at initial condition <math> (1, 0, 0) </math> the solution is <math> cos(\sqrt{\frac{k}{m}}t) </math> which is the familiar oscillator of mass m and spring constant k. For higher dimensional and multi-particle systems, the generalization is from considering one EL equation to one for each dimension of position for each particle. For N particles in three dimensions, this gives 3N equations. Often, the Lagrangian is divided into two terms <math> L=T(\dot{q}_1, \dot{q}_2, \cdots, \dot{q}_{3N})-U(q_1, q_2, \cdots, q_{3N}) </math>, with the term T depending only on the velocities is called the kinetic energy and U the potential energy. Now, we have an opportunity to analyze these terms and equations more generally. The derivatives <math> \frac{\partial L}{\partial \dot{q}_i} = \frac{\partial T}{\partial \dot{q}_i}, \quad i = 1, 2, \cdots, 3N</math> assembled as a vector are known as the momentum of the system. This another reason Lagrangians are powerful. Degrees of freedom need not come in multiples of three either. <br />
[[File:Rigid rod configuration sketch.jpg|thumb|Sketch of a rigid rod of length <math> l </math> with masses on the ends]]<br />
For two masses rigidly joined at a fixed distance <math> l </math>, the positions are described by only five coordinates. First, the three of one mass, then the two angles to choose a point on the sphere of radius <math> l </math> about the first mass, to fix the position of the second. <br />
<br />
<br><br />
Letting the <math> q_i </math> coordinates be coordinates other than Cartesian, e.g. spherical coordinates for each particle, allows us to discuss linear and angular momentum on the same footing or momentum in any convenient coordinate system. Given <math> m_{1+((i-1)-(i-1)\,mod 3)/3} = m_k </math> as the mass of the k'th particle in order, in cartesian coordinates <math> T=\sum_{i=1}^{3N} \frac{1}{2}m_k \dot{q}^2_i </math> gives <math> \frac{\partial T}{\partial \dot{q}_i}=m_k \dot{q}_i=m_k v_i = p_i</math>. Similarly, the coordinate derivative gives <math> \frac{\partial L}{\partial q_i}=-\frac{\partial U}{\partial q_i} = F_i </math> which has the interpretation of force on the i'th coordinate. Then the i'th EL equation is expressed as <math> m_k \frac{d}{dt} v_i = m_k a_i= F_i </math> which is just Newton's second law. Indeed, all of Newton's laws can be derived from this formulation of motion, but to do so fully we need an equation using finite properties of the Lagrangian and not just an infinitesimal condition.<br />
<br><br />
<br><br />
Supposing <math> q_i(t) </math> solves the EL equations for s degrees of freedom, we can analyze properties of the integral across finite time <math> S = \int_{t_1}^{t_2} L(q_1(t), \cdots, q_s(t), \dot{q}_1(t), \cdots, \dot{q}_s(t), t) dt </math>, since substituting the trajectory gives a strict function of time.<br />
<br />
=== Infinite Dimensional Techniques ===<br />
<br />
=== Hamiltonians and Geometry ===<br />
<br />
=== Lie Algebras and Symmetry ===<br />
<br />
[[Category:Physics]]</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14303
MediaWiki:Common.css
2023-11-29T00:11:25Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.mw-collapsed .card-book-followon-heading {<br />
margin: 0;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14302
MediaWiki:Common.css
2023-11-29T00:10:53Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
mw-collapsed .card-book-followon-heading {<br />
margin: 0;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14301
MediaWiki:Common.css
2023-11-29T00:03:41Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14300
MediaWiki:Common.css
2023-11-29T00:03:11Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-title p,<br />
.card-book-followon-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14299
User:Aardvark/Read
2023-11-28T23:59:33Z
<p>Aardvark: </p>
<hr />
<div>{{Grid2Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
}}<br />
<details><br />
<summary>Test</summary><br />
test<br />
</details></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Mobile.css&diff=14298
MediaWiki:Mobile.css
2023-11-28T23:51:45Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/* WORKAROUND FOR IOS BUG */<br />
/* https://discordapp.com/channels/674958932938195015/705057437681713165/776124337496784907 */<br />
.main-menu-mask {display: none;}<br />
#main-menu-input:checked ~.main-menu-mask {display: block;}<br />
<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body<br />
{<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
.mw-body-content<br />
{<br />
font-size: unset;<br />
}<br />
<br />
h1, h2, h3, h4, h5, h6<br />
{<br />
border-bottom: 1px solid #d5d5d5;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1<br />
{<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2<br />
{<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
padding-bottom: 0.3em;<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6<br />
{<br />
margin-top: 0.6em;<br />
}<br />
<br />
img<br />
{<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
blockquote<br />
{<br />
padding-left: 1em;<br />
padding: 1em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
/* background: #f3f3ff; */<br />
background: #d8ecff;<br />
border-radius: 0.33em;<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline<br />
{<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context<br />
{<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.highlight<br />
{<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning<br />
{<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo<br />
{<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done<br />
{<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
<br />
h2<br />
{<br />
clear: both;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
@media only screen and (max-width : 1000px)<br />
{<br />
div.floatright<br />
{<br />
float: unset;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 0;<br />
} <br />
}<br />
<br />
.shadow<br />
{<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.shadow h2<br />
{<br />
margin-top: 0;<br />
}<br />
<br />
blockquote,<br />
.shadow<br />
{<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);<br />
margin: 2em;<br />
}<br />
<br />
.button a<br />
{<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover<br />
{<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
q<br />
{<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after<br />
{<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
.max-width img<br />
{<br />
max-width: 512px;<br />
}<br />
<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9)<br />
{<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
.mw-input {<br />
font-weight: bold;<br />
}<br />
<br />
.intro-container, .materials-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.generic-container<br />
{<br />
padding: 1em;<br />
background: #f9f9f9;<br />
border: 1px solid #ddd;<br />
}<br />
<br />
.projects-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.welcome-section<br />
{<br />
background: #f5fffa;<br />
border: 1px solid #cef2e0;<br />
}<br />
<br />
.eric-section<br />
{<br />
border: 1px solid #cedff2;<br />
background: #f5faff;<br />
}<br />
<br />
.grid-item<br />
{<br />
/*<br />
background: #eee;<br />
*/<br />
padding: 1em;<br />
}<br />
<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
.img-50 img<br />
{<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img<br />
{<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p<br />
{<br />
text-align: center;<br />
}<br />
<br />
.social-icons a.external<br />
{<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
/* heading padding */<br />
<br />
h1, h2, h3, h4, h5, h6 {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
box-shadow: 0 0 4px #999;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* 20231128 */<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
transition: linear .1s;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
box-shadow: 0 0 4px #999;<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
box-shadow: 0 0 4px #999;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
/* 20210203 */<br />
<br />
.content .box-generic .in-block {<br />
display: unset;<br />
}<br />
<br />
.content .box-generic .in-block > span {<br />
display: unset;<br />
}<br />
<br />
.box-header {<br />
padding: 0.5em;<br />
}<br />
<br />
/* 20210805 */<br />
.page-Main_Page .welcome-links {<br />
flex-direction: column;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
list-style: disc;<br />
padding: 0;<br />
padding-left: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0;<br />
float: unset;<br />
}<br />
<br />
.page-Main_Page .box-header {<br />
padding: 0.5em 0;<br />
}<br />
<br />
.page-Main_Page .button-object a {<br />
overflow: hidden;<br />
}<br />
<br />
.page-Main_Page h2.in-block {<br />
margin: 0.2em 0;<br />
border-bottom: none;<br />
}<br />
<br />
.page-Main_Page .eric-profile h2.in-block,<br />
.page-Main_Page .community-section h2.in-block {<br />
margin-bottom: 0.5em;<br />
padding: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.page-Main_Page h4.in-block {<br />
padding-bottom: 0.4em;<br />
}<br />
<br />
.box-header h4, .box-header h3 {<br />
padding-bottom: 0.1em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
padding: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14297
MediaWiki:Common.css
2023-11-28T23:51:33Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-list-item:not(:last-child) {<br />
margin: 0 0 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Mobile.css&diff=14296
MediaWiki:Mobile.css
2023-11-28T23:49:03Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/* WORKAROUND FOR IOS BUG */<br />
/* https://discordapp.com/channels/674958932938195015/705057437681713165/776124337496784907 */<br />
.main-menu-mask {display: none;}<br />
#main-menu-input:checked ~.main-menu-mask {display: block;}<br />
<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body<br />
{<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
.mw-body-content<br />
{<br />
font-size: unset;<br />
}<br />
<br />
h1, h2, h3, h4, h5, h6<br />
{<br />
border-bottom: 1px solid #d5d5d5;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1<br />
{<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2<br />
{<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
padding-bottom: 0.3em;<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6<br />
{<br />
margin-top: 0.6em;<br />
}<br />
<br />
img<br />
{<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
blockquote<br />
{<br />
padding-left: 1em;<br />
padding: 1em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
/* background: #f3f3ff; */<br />
background: #d8ecff;<br />
border-radius: 0.33em;<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline<br />
{<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context<br />
{<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.highlight<br />
{<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning<br />
{<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo<br />
{<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done<br />
{<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
<br />
h2<br />
{<br />
clear: both;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
@media only screen and (max-width : 1000px)<br />
{<br />
div.floatright<br />
{<br />
float: unset;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 0;<br />
} <br />
}<br />
<br />
.shadow<br />
{<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.shadow h2<br />
{<br />
margin-top: 0;<br />
}<br />
<br />
blockquote,<br />
.shadow<br />
{<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);<br />
margin: 2em;<br />
}<br />
<br />
.button a<br />
{<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover<br />
{<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
q<br />
{<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after<br />
{<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
.max-width img<br />
{<br />
max-width: 512px;<br />
}<br />
<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9)<br />
{<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
.mw-input {<br />
font-weight: bold;<br />
}<br />
<br />
.intro-container, .materials-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.generic-container<br />
{<br />
padding: 1em;<br />
background: #f9f9f9;<br />
border: 1px solid #ddd;<br />
}<br />
<br />
.projects-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.welcome-section<br />
{<br />
background: #f5fffa;<br />
border: 1px solid #cef2e0;<br />
}<br />
<br />
.eric-section<br />
{<br />
border: 1px solid #cedff2;<br />
background: #f5faff;<br />
}<br />
<br />
.grid-item<br />
{<br />
/*<br />
background: #eee;<br />
*/<br />
padding: 1em;<br />
}<br />
<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
.img-50 img<br />
{<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img<br />
{<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p<br />
{<br />
text-align: center;<br />
}<br />
<br />
.social-icons a.external<br />
{<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
/* heading padding */<br />
<br />
h1, h2, h3, h4, h5, h6 {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
box-shadow: 0 0 4px #999;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* 20231128 */<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
transition: linear .1s;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
box-shadow: 0 0 4px #999;<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
box-shadow: 0 0 4px #999;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
/* 20210203 */<br />
<br />
.content .box-generic .in-block {<br />
display: unset;<br />
}<br />
<br />
.content .box-generic .in-block > span {<br />
display: unset;<br />
}<br />
<br />
.box-header {<br />
padding: 0.5em;<br />
}<br />
<br />
/* 20210805 */<br />
.page-Main_Page .welcome-links {<br />
flex-direction: column;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
list-style: disc;<br />
padding: 0;<br />
padding-left: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0;<br />
float: unset;<br />
}<br />
<br />
.page-Main_Page .box-header {<br />
padding: 0.5em 0;<br />
}<br />
<br />
.page-Main_Page .button-object a {<br />
overflow: hidden;<br />
}<br />
<br />
.page-Main_Page h2.in-block {<br />
margin: 0.2em 0;<br />
border-bottom: none;<br />
}<br />
<br />
.page-Main_Page .eric-profile h2.in-block,<br />
.page-Main_Page .community-section h2.in-block {<br />
margin-bottom: 0.5em;<br />
padding: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.page-Main_Page h4.in-block {<br />
padding-bottom: 0.4em;<br />
}<br />
<br />
.box-header h4, .box-header h3 {<br />
padding-bottom: 0.1em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
padding: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
margin: 0 0 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Mobile.css&diff=14295
MediaWiki:Mobile.css
2023-11-28T23:47:53Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/* WORKAROUND FOR IOS BUG */<br />
/* https://discordapp.com/channels/674958932938195015/705057437681713165/776124337496784907 */<br />
.main-menu-mask {display: none;}<br />
#main-menu-input:checked ~.main-menu-mask {display: block;}<br />
<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body<br />
{<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
.mw-body-content<br />
{<br />
font-size: unset;<br />
}<br />
<br />
h1, h2, h3, h4, h5, h6<br />
{<br />
border-bottom: 1px solid #d5d5d5;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1<br />
{<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2<br />
{<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
padding-bottom: 0.3em;<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6<br />
{<br />
margin-top: 0.6em;<br />
}<br />
<br />
img<br />
{<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
blockquote<br />
{<br />
padding-left: 1em;<br />
padding: 1em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
/* background: #f3f3ff; */<br />
background: #d8ecff;<br />
border-radius: 0.33em;<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline<br />
{<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context<br />
{<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.highlight<br />
{<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning<br />
{<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo<br />
{<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done<br />
{<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
<br />
h2<br />
{<br />
clear: both;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
@media only screen and (max-width : 1000px)<br />
{<br />
div.floatright<br />
{<br />
float: unset;<br />
}<br />
<br />
div.floatright img<br />
{<br />
margin-left: 0;<br />
} <br />
}<br />
<br />
.shadow<br />
{<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
}<br />
<br />
.shadow h2<br />
{<br />
margin-top: 0;<br />
}<br />
<br />
blockquote,<br />
.shadow<br />
{<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);<br />
margin: 2em;<br />
}<br />
<br />
.button a<br />
{<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover<br />
{<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
q<br />
{<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after<br />
{<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
.max-width img<br />
{<br />
max-width: 512px;<br />
}<br />
<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9)<br />
{<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
.mw-input {<br />
font-weight: bold;<br />
}<br />
<br />
.intro-container, .materials-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.generic-container<br />
{<br />
padding: 1em;<br />
background: #f9f9f9;<br />
border: 1px solid #ddd;<br />
}<br />
<br />
.projects-container<br />
{<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
.welcome-section<br />
{<br />
background: #f5fffa;<br />
border: 1px solid #cef2e0;<br />
}<br />
<br />
.eric-section<br />
{<br />
border: 1px solid #cedff2;<br />
background: #f5faff;<br />
}<br />
<br />
.grid-item<br />
{<br />
/*<br />
background: #eee;<br />
*/<br />
padding: 1em;<br />
}<br />
<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
.img-50 img<br />
{<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img<br />
{<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p<br />
{<br />
text-align: center;<br />
}<br />
<br />
.social-icons a.external<br />
{<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
/* heading padding */<br />
<br />
h1, h2, h3, h4, h5, h6 {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
box-shadow: 0 0 4px #999;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* 20231128 */<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
transition: linear .1s;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
box-shadow: 0 0 4px #999;<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
box-shadow: 0 0 4px #999;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
/* 20210203 */<br />
<br />
.content .box-generic .in-block {<br />
display: unset;<br />
}<br />
<br />
.content .box-generic .in-block > span {<br />
display: unset;<br />
}<br />
<br />
.box-header {<br />
padding: 0.5em;<br />
}<br />
<br />
/* 20210805 */<br />
.page-Main_Page .welcome-links {<br />
flex-direction: column;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
list-style: disc;<br />
padding: 0;<br />
padding-left: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin-bottom: 0.5em;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0;<br />
float: unset;<br />
}<br />
<br />
.page-Main_Page .box-header {<br />
padding: 0.5em 0;<br />
}<br />
<br />
.page-Main_Page .button-object a {<br />
overflow: hidden;<br />
}<br />
<br />
.page-Main_Page h2.in-block {<br />
margin: 0.2em 0;<br />
border-bottom: none;<br />
}<br />
<br />
.page-Main_Page .eric-profile h2.in-block,<br />
.page-Main_Page .community-section h2.in-block {<br />
margin-bottom: 0.5em;<br />
padding: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.page-Main_Page h4.in-block {<br />
padding-bottom: 0.4em;<br />
}<br />
<br />
.box-header h4, .box-header h3 {<br />
padding-bottom: 0.1em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
margin: 0 0 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14294
MediaWiki:Common.css
2023-11-28T23:46:41Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid Templates */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
@media screen and (max-width: 800px) {<br />
.grid-3-col,<br />
.grid-2-col {<br />
grid-template-columns: 1fr;<br />
}<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
margin: 0 0 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14293
MediaWiki:Common.css
2023-11-28T23:44:27Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
margin: 0 0 0.75em;<br />
width: 100%;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14292
User:Aardvark/Read
2023-11-28T23:43:29Z
<p>Aardvark: </p>
<hr />
<div>{{Grid2Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
}}<br />
}}<br />
}}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBookFollowOnListItem&diff=14291
Template:CardBookFollowOnListItem
2023-11-28T23:42:44Z
<p>Aardvark: </p>
<hr />
<div><li class="card-book-followon-list-item"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-followon-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-followon-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
</li></div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBookFollowOnListItem&diff=14290
Template:CardBookFollowOnListItem
2023-11-28T23:42:31Z
<p>Aardvark: </p>
<hr />
<div><li class="card-book-followon-list-item"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-followon-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-followon-info"<br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
</li></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14289
MediaWiki:Common.css
2023-11-28T23:41:24Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
ul.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14288
MediaWiki:Common.css
2023-11-28T23:40:55Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-rows: auto 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBook&diff=14287
Template:CardBook
2023-11-28T23:39:45Z
<p>Aardvark: </p>
<hr />
<div><div class="card-book"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
{{#if: {{{followon|}}}|<nowiki/><br />
<div class="card-book-followon mw-collapsible mw-collapsed"><br />
<div class="card-book-followon-heading">Follow-on Books:</div><br />
<ul class="card-book-followon-list mw-collapsible-content"><br />
{{{followon}}}<br />
</ul><br />
</div>|<nowiki/><br />
}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14286
User:Aardvark/Read
2023-11-28T23:37:07Z
<p>Aardvark: </p>
<hr />
<div>{{Grid2Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = <br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
{{CardBookFollowOnListItem<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
}}<br />
}}<br />
}}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14285
MediaWiki:Common.css
2023-11-28T23:35:55Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.15;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon-list {<br />
margin: 0;<br />
}<br />
<br />
.card-book-followon-list-item {<br />
list-style: none;<br />
display: grid;<br />
grid-template-columns: 80px 1fr;<br />
gap: 0.75em;<br />
}<br />
<br />
.card-book-followon-img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-followon-title p {<br />
margin: 0;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBookFollowOnListItem&diff=14284
Template:CardBookFollowOnListItem
2023-11-28T23:27:56Z
<p>Aardvark: Aardvark moved page Template:CardBookFollowOn to Template:CardBookFollowOnListItem without leaving a redirect</p>
<hr />
<div><li class="card-book-followon-list-item"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-followon-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-followon-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
</li></div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBookFollowOnListItem&diff=14283
Template:CardBookFollowOnListItem
2023-11-28T23:26:27Z
<p>Aardvark: </p>
<hr />
<div><li class="card-book-followon-list-item"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-followon-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-followon-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
</li></div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBookFollowOnListItem&diff=14282
Template:CardBookFollowOnListItem
2023-11-28T23:24:50Z
<p>Aardvark: Created page with "<div class="card-book-followon-list-item"> {{#if: {{{img|}}}|<nowiki/> <div class="card-book-followon-img"> center </div>|<nowiki/> }} <div class="card-book-followon-title"> {{{title}}} </div> </div>"</p>
<hr />
<div><div class="card-book-followon-list-item"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-followon-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-followon-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBook&diff=14281
Template:CardBook
2023-11-28T23:24:00Z
<p>Aardvark: </p>
<hr />
<div><div class="card-book"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
{{#if: {{{followon|}}}|<nowiki/><br />
<div class="card-book-followon"><br />
<div class="card-book-followon-heading">Follow-on Books:</div><br />
<ul class="card-book-followon-list"><br />
{{{followon}}}<br />
</ul><br />
</div>|<nowiki/><br />
}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14280
MediaWiki:Common.css
2023-11-28T23:22:59Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.25;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
color: #393939;<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBook&diff=14279
Template:CardBook
2023-11-28T23:21:40Z
<p>Aardvark: </p>
<hr />
<div><div class="card-book"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
{{#if: {{{followon|}}}|<nowiki/><br />
<div class="card-book-followon"><br />
<div class="card-book-followon-heading">Follow-on Books:</div><br />
{{{followon}}}<br />
</div>|<nowiki/><br />
}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14278
MediaWiki:Common.css
2023-11-28T23:21:33Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.25;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
.card-book-followon-heading {<br />
font-weight: bold;<br />
line-height: 1.3;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBook&diff=14277
Template:CardBook
2023-11-28T23:19:41Z
<p>Aardvark: </p>
<hr />
<div><div class="card-book"><br />
{{#if: {{{img|}}}|<nowiki/><br />
<div class="card-book-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}}|<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}}|<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
{{#if: {{{followon|}}}|<nowiki/><br />
<div class="card-book-followon"><br />
{{{followon}}}<br />
</div>|<nowiki/><br />
}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14276
MediaWiki:Common.css
2023-11-28T23:18:15Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.75em;<br />
padding: 0.75em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.25;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-description {<br />
line-height: 1.3;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14275
MediaWiki:Common.css
2023-11-28T23:16:47Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.5em;<br />
padding: 0.5em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.25;<br />
}<br />
<br />
.card-book-title p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.5em;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14274
MediaWiki:Common.css
2023-11-28T23:14:54Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.5em;<br />
padding: 0.5em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p {<br />
line-height: 1.25;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14273
User:Aardvark/Read
2023-11-28T23:13:42Z
<p>Aardvark: </p>
<hr />
<div>{{Grid2Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
}}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:Grid2Col&diff=14272
Template:Grid2Col
2023-11-28T23:13:37Z
<p>Aardvark: Created page with "<div class="grid-2-col> {{{content}}} </div>"</p>
<hr />
<div><div class="grid-2-col><br />
{{{content}}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14271
MediaWiki:Common.css
2023-11-28T23:13:22Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
.grid-2-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.5em;<br />
padding: 0.5em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=MediaWiki:Common.css&diff=14270
MediaWiki:Common.css
2023-11-28T23:12:34Z
<p>Aardvark: </p>
<hr />
<div>/* CSS placed here will be applied to all skins */<br />
<br />
/*************************/<br />
/* Table of Contents */<br />
/*************************/<br />
/*<br />
0. Temp/Scratch<br />
1. MediaWiki Overrides<br />
2. Body Styling<br />
3. Table Styling<br />
4. Template Styling<br />
5. Custom Object Styling<br />
6. Per-Page Styling<br />
7. Mobile Styling<br />
8. New Styling (6-23-2023)<br />
*/<br />
<br />
<br />
<br />
<br />
<br />
/***********************/<br />
/* 0. Temp/Scratch */<br />
/***********************/<br />
<br />
/* LEFTOVER START */<br />
<br />
/*<br />
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap&subset=latin-ext');<br />
*/<br />
<br />
h2 {<br />
/* clear: both; */ /* This might have broken some page layouts. */<br />
}<br />
<br />
.mw-ui-icon-element {<br />
/*<br />
padding-bottom: 0;<br />
*/<br />
}<br />
<br />
/* LEFTOVER END */<br />
<br />
<br />
/******************************/<br />
/* 1. MediaWiki Overrides */<br />
/******************************/<br />
<br />
/* Font */<br />
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap&subset=latin-ext');<br />
<br />
html, body {<br />
font-family: 'Open Sans', sans-serif;<br />
}<br />
<br />
/* Body Font Size */<br />
.mw-body-content {<br />
font-size: unset;<br />
}<br />
<br />
.vector-body {<br />
font-size: 1em;<br />
}<br />
<br />
/* Logo */<br />
.mw-logo-wordmark {<br />
color: black;<br />
}<br />
<br />
/* Sidebar Font Size */<br />
.vector-menu-portal .vector-menu-content li a,<br />
.vector-menu-portal h3 {<br />
font-size: 14px;<br />
}<br />
<br />
/* Headings */<br />
h1, h2, h3, h4, h5, h6 {<br />
border-bottom: 1px solid #d5d5d5;<br />
margin-bottom: 0.5em;<br />
font-weight: bold;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {<br />
/*<br />
font-family: 'Rubik';<br />
*/<br />
font-weight: bold;<br />
/*<br />
padding-bottom: 0.3em;<br />
*/<br />
margin-bottom: 0.3em;<br />
}<br />
<br />
.mw-body h1, .mw-body-content h1 {<br />
font-size: 2em;<br />
}<br />
<br />
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {<br />
margin-top: 0.6em;<br />
}<br />
<br />
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block {<br />
margin-bottom: 0.75em;<br />
}<br />
<br />
/* Lists */<br />
.content li {<br />
margin-bottom: 5px;<br />
}<br />
<br />
/* Images */<br />
img {<br />
max-width: 100%;<br />
height: auto;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 2em;<br />
margin-bottom: 2em;<br />
}<br />
<br />
.img-50 img {<br />
border-radius: 5px;<br />
max-width: 50%;<br />
}<br />
<br />
.img-cover img {<br />
border-radius: 5px;<br />
width: 250px;<br />
max-width: 100%;<br />
}<br />
<br />
.max-width img {<br />
max-width: 512px;<br />
}<br />
<br />
.img-50 p,<br />
.img-cover p {<br />
text-align: center;<br />
}<br />
<br />
/* Quote */<br />
q {<br />
font-weight: bold;<br />
font-size: 130%;<br />
font-style: italic;<br />
}<br />
<br />
q::before,<br />
q::after {<br />
font-size: 200%;<br />
font-weight: bold;<br />
font-family: serif;<br />
opacity: 0.5;<br />
}<br />
<br />
/* Blockquote */<br />
.vector-body blockquote,<br />
blockquote {<br />
padding: 1.5em;<br />
border: 1px solid #ddd;<br />
border-left: 4px solid #ddd;<br />
background: #fdfdff;<br />
/* background: #d8ecff; */<br />
border-radius: 4px;<br />
/* border-color: #a3d3ff; */<br />
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); /* 0.2 opacity was a little heavy. Bumped it down to 0.1. Relates to krfdyh */<br />
margin: 1.5em; <br />
}<br />
<br />
/* Menu Panel rework */<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li {<br />
padding: 0;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a {<br />
color: black !important;<br />
display: inline-block;<br />
width: 100%;<br />
height: 100%;<br />
padding: .6em;<br />
padding-left: 0.25em;<br />
text-decoration: none;<br />
transition: background .25s ease-in-out;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) #mw-panel .vector-menu-content li a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.skin-vector:not(.skin-vector-legacy) a.feedlink {<br />
padding-left: 16px !important;<br />
}<br />
<br />
@media screen and (min-width: 1200px) {<br />
.mw-page-container-inner {<br />
grid-template-columns: 257px 20px minmax(0,1fr);<br />
}<br />
<br />
.mw-body {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
@media screen and (min-width: 1000px) {<br />
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {<br />
padding-left: 0;<br />
}<br />
}<br />
<br />
/* Diff Page */<br />
.diff-addedline {<br />
border-color: #a3d3ff;<br />
}<br />
<br />
.diff-addedline, .diff-deletedline, .diff-context {<br />
font-size: 88%;<br />
line-height: 1.6;<br />
vertical-align: top;<br />
white-space: -moz-pre-wrap;<br />
white-space: pre-wrap;<br />
border-style: solid;<br />
border-width: 1px 1px 1px 4px;<br />
border-radius: 0.33em;<br />
}<br />
<br />
/* Highlights */<br />
.highlight {<br />
background: #ff0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-warning {<br />
background: #fa0;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-bad,<br />
.highlight-danger,<br />
.highlight-todo {<br />
background: #f00;<br />
font-weight: unset;<br />
}<br />
<br />
.highlight-good,<br />
.highlight-done {<br />
background: #0f0;<br />
font-weight: unset;<br />
}<br />
<br />
/***********************/<br />
/* 2. Body Styling */<br />
/***********************/<br />
<br />
<br />
<br />
<br />
<br />
/************************/<br />
/* 3. Table Styling */<br />
/************************/<br />
<br />
<br />
<br />
<br />
<br />
/***************************/<br />
/* 4. Template Styling */<br />
/***************************/<br />
<br />
/* Generic Boxes */<br />
.box-generic {<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
box-sizing: border-box;<br />
border: none;<br />
border-radius: 3px;<br />
height: 100%;<br />
padding: 1em;<br />
}<br />
<br />
.box-header h4, <br />
.box-header h3 {<br />
margin-top: 0;<br />
padding-top: 0;<br />
border-bottom: 3px solid #c7c7c7;<br />
}<br />
<br />
.box-header p {<br />
margin: 0 !important;<br />
}<br />
<br />
.box-content {<br />
padding: 0;<br />
}<br />
<br />
.box-content ul {<br />
margin: 0.3em 0 0 1em;<br />
}<br />
<br />
.box-links {<br />
column-width: 18em;<br />
padding: 0;<br />
}<br />
<br />
.box-links ul {<br />
margin: 0.3em 0 0 1.16em;<br />
}<br />
<br />
/* Grid3Col */<br />
.grid-3-col {<br />
display: grid;<br />
grid-template-columns: 1fr 1fr 1fr;<br />
gap: 1em;<br />
}<br />
<br />
/* Book Listing */<br />
.book-listing {<br />
flex: 0 1 300px;<br />
}<br />
<br />
.book-listing .book-cover a img {<br />
transition: transform linear .2s, filter linear .2s;<br />
}<br />
<br />
.book-listing .book-cover a img:hover {<br />
transform: scale(1.025);<br />
filter: drop-shadow(0px 3px 6px lightgray);<br />
}<br />
<br />
.book-listing .book-title h3 {<br />
padding: 0;<br />
margin-top: 0.25em;<br />
}<br />
<br />
/* CardBook */<br />
.card-book {<br />
display: grid;<br />
grid-template-columns: 112px 1fr;<br />
grid-template-areas:<br />
"img info"<br />
"followon followon";<br />
gap: 0.5em;<br />
padding: 0.5em;<br />
background: #e9e9e9;<br />
border-radius: 6px;<br />
}<br />
<br />
.card-book-img {<br />
grid-area: img;<br />
}<br />
<br />
.card-book-img img {<br />
border-radius: 3px;<br />
}<br />
<br />
.card-book-info {<br />
grid-area: info;<br />
}<br />
<br />
.card-book-title p,<br />
.card-book-authors p,<br />
.card-book-description p {<br />
margin: 0 0 0.25em;<br />
}<br />
<br />
.card-book-title a {<br />
font-weight: bold;<br />
}<br />
<br />
.card-book-authors {<br />
font-size: 0.8em;<br />
}<br />
<br />
.card-book-followon {<br />
grid-area: followon;<br />
}<br />
<br />
/* Flex Container */<br />
.flex-container {<br />
display: flex;<br />
flex-wrap: wrap;<br />
grid-gap: 1em;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 49%;<br />
}<br />
<br />
.skin-vector-legacy .flex-container .flex-item {<br />
flex: 1 1 32%;<br />
}<br />
<br />
/* Projects Container (used on Graph Wall Tome) */<br />
.projects-container {<br />
display: grid;<br />
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));<br />
gap: 1em;<br />
margin-bottom: 1em;<br />
}<br />
<br />
/* ericism */<br />
.ericism-container {<br />
display: block;<br />
grid-template-columns: none;<br />
margin-bottom: 1em;<br />
overflow: visible;<br />
/*<br />
display: grid;<br />
grid-template-columns: 60% auto;<br />
margin-bottom: 1em;<br />
*/<br />
}<br />
<br />
.ericism {<br />
margin-right: 30px;<br />
}<br />
<br />
.ericism h2 {<br />
margin-top: unset;<br />
}<br />
<br />
.ericism-reference {<br />
margin-top: 2.3em;<br />
margin-bottom: auto;<br />
}<br />
<br />
.ericism-reference p {<br />
margin: unset;<br />
}<br />
<br />
@media only screen and (min-width: 1280px) {<br />
<br />
.ericism-reference {<br />
max-width: 900px;<br />
}<br />
<br />
}<br />
<br />
/* Stub, Wiki Project, Notice Templates */<br />
.custom-notice {<br />
border: 1px solid #a2a9b1;<br />
background-color: #f8f9fa;<br />
clear: both;<br />
text-align: center;<br />
max-width: 600px;<br />
padding: .5em;<br />
margin: 0.5em auto;<br />
}<br />
<br />
/* Navigation Button template style */<br />
.nav-container {<br />
display: grid;<br />
grid-template-columns: auto auto;<br />
}<br />
<br />
.nav-container-flex {<br />
display: flex;<br />
flex-wrap: wrap;<br />
gap: 1em;<br />
margin: 1em 0;<br />
}<br />
<br />
.nav-container-flex p {<br />
margin: 0;<br />
}<br />
<br />
.nav-button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 4.2em 0.5em 4.2em !important;<br />
font-weight: bold;<br />
border-radius: 4px;<br />
text-align: center;<br />
}<br />
<br />
.nav-button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.no-prev, .no-next {<br />
display: none;<br />
}<br />
<br />
/* Button Box template */<br />
.button-section h3 {<br />
margin: 0;<br />
border: none;<br />
padding: .5em 0;<br />
}<br />
<br />
.button-links {<br />
display: flex;<br />
flex-wrap: wrap;<br />
border: 1px solid #a2a9b1;<br />
border-radius: 3px;<br />
background-color: #f8f9fa;<br />
}<br />
<br />
.button-object {<br />
flex: 0 1 100%;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object:not(:last-of-type) {<br />
border-bottom: 1px solid #a2a9b1;<br />
}<br />
<br />
.button-object p {<br />
display: flex;<br />
margin: 0;<br />
max-height: 64px;<br />
}<br />
<br />
.button-object a {<br />
display: block;<br />
color: black;<br />
text-decoration: none;<br />
line-height: 1.15em;<br />
padding: .85em;<br />
flex: 1 1 100%;<br />
}<br />
<br />
.button-object a.external {<br />
background-image: none;<br />
color: black;<br />
}<br />
<br />
.button-object.button-collection a {<br />
font-weight: bold;<br />
padding: .5em;<br />
text-align: center;<br />
}<br />
<br />
.button-object a {<br />
transition: background linear .1s;<br />
}<br />
<br />
.button-object a:hover {<br />
background: #c7c7c7;<br />
}<br />
<br />
.button-object a:visited,<br />
.button-object a.external:visited {<br />
color: black;<br />
}<br />
<br />
/* Infobox template style */<br />
.infobox {<br />
border: 1px solid #a2a9b1;<br />
border-spacing: 3px;<br />
background-color: #f8f9fa;<br />
color: black;<br />
/* @noflip */<br />
margin: 0 0 0.5em 1em;<br />
padding: 0.2em;<br />
/* @noflip */<br />
float: right;<br />
/* @noflip */<br />
clear: right;<br />
font-size: 88%;<br />
line-height: 1.5em;<br />
width: 22em;<br />
}<br />
<br />
.infobox caption {<br />
font-size: 125%;<br />
font-weight: bold;<br />
padding: 0.2em;<br />
text-align: center;<br />
}<br />
<br />
.infobox td,<br />
.infobox th {<br />
vertical-align: top;<br />
/* @noflip */<br />
text-align: left;<br />
}<br />
<br />
.infobox.bordered {<br />
border-collapse: collapse;<br />
}<br />
<br />
.infobox.bordered td,<br />
.infobox.bordered th {<br />
border: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .borderless td,<br />
.infobox.bordered .borderless th {<br />
border: 0;<br />
}<br />
<br />
.infobox.sisterproject {<br />
width: 20em;<br />
font-size: 90%;<br />
}<br />
<br />
.infobox.standard-talk {<br />
border: 1px solid #c0c090;<br />
background-color: #f8eaba;<br />
}<br />
<br />
.infobox.standard-talk.bordered td,<br />
.infobox.standard-talk.bordered th {<br />
border: 1px solid #c0c090;<br />
}<br />
<br />
/* styles for bordered infobox with merged rows */<br />
.infobox.bordered .mergedtoprow td,<br />
.infobox.bordered .mergedtoprow th {<br />
border: 0;<br />
border-top: 1px solid #a2a9b1;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
.infobox.bordered .mergedrow td,<br />
.infobox.bordered .mergedrow th {<br />
border: 0;<br />
/* @noflip */<br />
border-right: 1px solid #a2a9b1;<br />
}<br />
<br />
h3 + .infobox {<br />
margin-top: .5em;<br />
}<br />
<br />
<br />
<br />
/********************************/<br />
/* 5. Custom Object Styling */<br />
/********************************/<br />
<br />
/* For objects that are not in Templates. */<br />
<br />
.social-icons a.external {<br />
background: unset;<br />
/*<br />
padding-right: 0;<br />
*/<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.button a {<br />
color: #fff !important;<br />
background-color: #36c;<br />
border-color: #36c;<br />
padding: 0.5em 1em 0.5em 1em !important;<br />
display: inline-block;<br />
font-weight: bold;<br />
border-radius: 2px;<br />
margin-bottom: 4px;<br />
}<br />
<br />
.button a:hover {<br />
text-decoration: none;<br />
background-color: #447ff5;<br />
border-color: #447ff5;<br />
}<br />
<br />
.shadow {<br />
margin: 1em 0;<br />
padding: 2em;<br />
border-radius: 0.33em;<br />
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12); /* Changed from 0.2 to 0.12. It's not at 0.1, because it should visually feel like it matches with krfdyh, which also has a border */<br />
margin: 2em;<br />
}<br />
<br />
.shadow h2 {<br />
margin-top: 0;<br />
}<br />
<br />
/* responsive video for youtube widget */<br />
.fivefifty {<br />
max-width: 550px;<br />
}<br />
<br />
.video-responsive {<br />
position: relative;<br />
padding-bottom:56.25%;<br />
height:0;<br />
overflow: hidden;<br />
max-width: 100%;<br />
}<br />
<br />
.video-responsive iframe,<br />
.video-responsive object,<br />
.video-responsive embed {<br />
position: absolute; <br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
}<br />
<br />
<br />
<br />
/***************************/<br />
/* 6. Per-Page Styling */<br />
/***************************/<br />
<br />
/* Style rules specific to a page */<br />
<br />
/* Registration */<br />
#userlogin2 .mw-htmlform-field-HTMLInfoField:nth-child(9) {<br />
margin-top: 1em;<br />
padding: 1em 0em;<br />
border-top: 3px solid black;<br />
}<br />
<br />
/* Main Page styling */<br />
.page-Main_Page #firstHeading, #contentSub, #contentSub2 {<br />
display: none;<br />
}<br />
<br />
.page-Main_Page .mw-parser-output > h2 {<br />
font-size: 1.8em;<br />
border: none;<br />
}<br />
<br />
.page-Main_Page .welcome-container {<br />
padding: 1.25em;<br />
margin-bottom: .75em;<br />
/* box-shadow: 0 0 4px #999; */ /* Extra outline seemed unneeded. Feel free to yell at me if you disagree. 🤠*/<br />
border-radius: 3px;<br />
}<br />
<br />
.page-Main_Page .welcome-inner h1 {<br />
border: none;<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen {<br />
font-style: italic;<br />
}<br />
<br />
.page-Main_Page .welcome-inner .welcome-as-seen p {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .welcome-stats {<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .welcome-links {<br />
display: flex;<br />
justify-content: space-evenly;<br />
margin-top: 1em;<br />
}<br />
<br />
.page-Main_Page .welcome-links ul {<br />
font-size: 95%;<br />
margin: 0;<br />
list-style: none;<br />
}<br />
<br />
.page-Main_Page .welcome-links li {<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
display: flex;<br />
gap: .75em;<br />
}<br />
<br />
.page-Main_Page .eric-section,<br />
.page-Main_Page .community-section {<br />
background: none;<br />
border: none;<br />
border-radius: 3px;<br />
/* box-shadow: 0 0 4px #999; */ /* Maybe a little softer here? */<br />
box-shadow: 0 0 4px #d6d6d6;<br />
padding: 1.25em;<br />
}<br />
<br />
.page-Main_Page .eric-section {<br />
flex: 0 1 100%;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
flex: 0 1 100%;<br />
max-width: 33%;<br />
}<br />
<br />
.page-Main_Page .eric-section h2,<br />
.page-Main_Page .community-section h2 {<br />
border-bottom: 3px solid #c7c7c7;<br />
margin: 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft {<br />
margin: 0.8em 1.25em 0 0;<br />
}<br />
<br />
.page-Main_Page div.floatleft img {<br />
margin: 0;<br />
box-shadow: 0 0 2px #afafaf;<br />
border: solid 1px #afafaf;<br />
}<br />
<br />
.page-Main_Page .eric-social {<br />
text-align: center;<br />
margin-top: .78em;<br />
}<br />
<br />
.page-Main_Page .eric-social p {<br />
margin: 0;<br />
line-height: 1em;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external {<br />
background: unset;<br />
font-size: 24px;<br />
line-height: 1em;<br />
text-align: center;<br />
}<br />
<br />
.page-Main_Page .eric-social .social-icons a.external:hover {<br />
opacity: .85;<br />
}<br />
<br />
.eric-social .social-icons a .fa-youtube {<br />
color: #f00;<br />
}<br />
<br />
.eric-social .social-icons a .fa-twitter {<br />
color: #1da1f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-facebook {<br />
color: #1877f2;<br />
}<br />
<br />
.eric-social .social-icons a .fa-instagram {<br />
color: #262626;<br />
}<br />
<br />
.eric-social .social-icons a .fa-periscope {<br />
color: #40a4c4;<br />
}<br />
<br />
.page-Main_Page .media-section {<br />
clear: both;<br />
}<br />
<br />
.page-Main_Page .eric-section h2, <br />
.page-Main_Page .eric-section h3,<br />
.page-Main_Page .community-section h2,<br />
.page-Main_Page .community-section h3 {<br />
margin: 0;<br />
}<br />
<br />
/*************************/<br />
/* 7. Mobile Styling */<br />
/*************************/<br />
<br />
/* <br />
These apply to all skins. Media queries made at Vector breakpoints.<br />
<br />
See https://theportal.wiki/wiki/MediaWiki:Mobile.css to apply rules specific to the Minerva skin. <br />
*/<br />
<br />
@media only screen and (max-width : 1000px) {<br />
div.floatright {<br />
float: unset;<br />
}<br />
<br />
div.floatright img {<br />
margin-left: 0;<br />
}<br />
<br />
div.mw-collapsible {<br />
width: 95%!important; /* Temp fix for Defacing the Wall’s wide collapsible boxes on mobile */<br />
}<br />
<br />
.infobox {<br />
float: none!important;<br />
width: 100%!important;<br />
margin: 0 0 1em 0!important;<br />
}<br />
<br />
.mobile-fullwidth {<br />
width:100%!important;<br />
}<br />
<br />
.flex-container .flex-item {<br />
flex: 1 1 100%;<br />
}<br />
<br />
.page-Main_Page .intro-container {<br />
flex-wrap: wrap;<br />
}<br />
<br />
.page-Main_Page .community-section {<br />
max-width: unset;<br />
}<br />
}<br />
<br />
.profile-container img<br />
{<br />
border-radius: 500px;<br />
margin: 10px; <br />
}<br />
<br />
/***********************/<br />
/* 8. New Styling */<br />
/***********************/<br />
.home-splash {<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.home-header {<br />
display: flex;<br />
gap: 1rem;<br />
justify-content: space-between;<br />
margin: 0 0 1.5rem;<br />
}<br />
<br />
.mw-body .home-title h1 {<br />
margin: 0;<br />
border: 0;<br />
}<br />
<br />
.home-title p,<br />
.home-stats p,<br />
.home-intro p {<br />
margin: 0;<br />
}<br />
<br />
.home-intro p {<br />
max-width: 650px;<br />
}<br />
<br />
.home-intro-link a {<br />
background: #ededed;<br />
border-radius: 4px;<br />
color: black;<br />
display: block;<br />
line-height: 1.1;<br />
padding: 1rem;<br />
}<br />
<br />
.home-intro-link a:first-child {<br />
margin: 0 0 1rem;<br />
}<br />
<br />
.home-intro {<br />
display: flex;<br />
justify-content: space-between;<br />
gap: 1rem;<br />
}<br />
<br />
.home-section {<br />
margin: 0 0 3rem;<br />
}<br />
<br />
.home-section h2,<br />
.home-section h3 {<br />
border: 0;<br />
margin: 0 0 1rem;<br />
padding: 0;<br />
}<br />
<br />
.home-section-info {<br />
display: flex;<br />
gap: 1rem;<br />
margin: 1.5rem 0 0;<br />
}<br />
<br />
.home-media {<br />
flex-basis: 50%;<br />
}<br />
<br />
.home-direction, <br />
.home-resources {<br />
flex-grow: 1;<br />
border-radius: 16px;<br />
box-shadow: 0px 1px 3px rgb(0 0 0 / 10%), 0px 2px 7px hsl(0deg 0% 0% / 5%);<br />
padding: 1rem;<br />
}<br />
<br />
.home-direction {<br />
flex-basis: 36%;<br />
}<br />
<br />
.home-resources {<br />
flex-basis: 50%;<br />
}</div>
Aardvark
https://theportal.wiki/index.php?title=Template:CardBook&diff=14269
Template:CardBook
2023-11-28T23:06:15Z
<p>Aardvark: </p>
<hr />
<div><div class="card-book"><br />
{{#if: {{{img|}}} |<nowiki/><br />
<div class="card-book-img"><br />
[[File:{{{img}}} | center]]<br />
</div>|<nowiki/><br />
}}<br />
<div class="card-book-info"><br />
<div class="card-book-title"><br />
[[{{{link}}}|{{{title}}}]]<br />
</div><br />
{{#if: {{{authors|}}} |<nowiki/><br />
<div class="card-book-authors"><br />
{{{authors}}}<br />
</div>|<nowiki/><br />
}}<br />
{{#if: {{{description|}}} |<nowiki/><br />
<div class="card-book-description"><br />
{{{description}}}<br />
</div>|<nowiki/><br />
}}<br />
</div><br />
{{#if: {{{followon|}}} |<nowiki/><br />
<div class="card-book-followon"><br />
{{{followon}}}<br />
</div>|<nowiki/><br />
}}<br />
</div></div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14268
User:Aardvark/Read
2023-11-28T23:01:33Z
<p>Aardvark: </p>
<hr />
<div>{{Grid3Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}<br />
}}</div>
Aardvark
https://theportal.wiki/index.php?title=User:Aardvark/Read&diff=14267
User:Aardvark/Read
2023-11-28T23:00:55Z
<p>Aardvark: </p>
<hr />
<div>{{Grid3Col<br />
| content =<br />
{{CardBook<br />
| img = Lang Basic Mathematics Cover.jpg<br />
| link = Basic Mathematics (Book)<br />
| title = Basic Mathematics<br />
| authors = Serge Lang<br />
| description = Review of arithmetic, algebra, trigonometry, logic, and geometry<br />
| followon = blargh<br />
}}</div>
Aardvark